« VS2008 Color Schemes | Main | Functional Programming »
Visual Studio 2008 (Orcas) handles some of the Font and Colors settings differently from VS2005. While Orcas can import .vssettings files generated its predecessor, there are a couple of problems:
As I had spent quite a bit of time creating the several Visual Studio 2005 Color Schemes that I've made available here, I had no desire to spent a lot of time porting them and fixing the problems mentioned above.
Instead, I spent half an hour creating a simple XSLT that you can run on a .vssettings file exported by VS2005 and generate a new one with the above problems fixed. For the XAML settings, the XSLT will copy the corresponding XML options and for the three new settings (XAML Markup Extension Class, XAML Markup Extension Parameter Name, and XAML Markup Extension Parameter Value) it gives them "reasonable" values from other options.
Download PortVSSettings.xslt.
Update: To run the XSLT without writing any code, you can open it up in Visual Studio and use the XML -> Debug XSLT option. Then, choose your .vssettings file as the input and you're done! (thanks to Brad Wilson for reminding me about it!)
Note: The template will only likely work with fairly complete customizations. This is because of the way the Visual Studio Import/Exports Settings tool works: It won't export any color options that have the "default" color.
Because of this, if have customized Visual Studio but some of the colors the XSLT looks for are missing because you left in the default value, it will not do the trick.
About
Tomas Restrepo is co-founder of devdeo ltda. His interests include .NET, Connected Systems, PowerShell and, lately, dynamic programming languages. More...
email: tomas@winterdom.com msn: tomasr@passport.com twitter: tomas_restrepo
Technorati Profile
Syndicate
Ads
Links
Tag Cloud
Statistics
Blogroll
Post Archive
Other
Copyright © 2002-2008, Tomas Restrepo.
Powered by: newtelligence dasBlog 1.9.7174.0