Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Setting the default Theme for a Visual Studio 2012 Shell (Isolated) application

$
0
0

I would like to default our application, which has been built on the VS2012 Shell (Isolated), to use the "Blue" theme. Since this theme is only available in Update 2 or later, I am deploying VS2012 Shell (Isolated) and Update 3 with my application. I was hoping to be able to add a setting to General.vssettings to set the theme to Blue, but there doesn't seem to be a way to do that (at least exporting the settings after changing the theme and comparing those settings to the previous settings showed only changes in the Fonts and Colors settings).

I was able to locate the CurrentTheme setting in the registry (HKCU\Software\<myCompany>\<myApp>\<version>\General\CurrentTheme) as well as a list of the installed themes (HKCU\Software\<myCompany>\<myApp>\<version>_Config\Themes).

I was hoping to get access to this setting using DTE.get_Properties("Environment", "General") since that is the tab the setting is on, but there is no "theme" or "currenttheme" property in the resulting collection.

Is there any way to access this property programatically? I would rather not have to directly change the setting in the registry.

Thanks,

Alan Cordner


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>