Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Adding CSS 3.0 support to Visual Studio 2010

0.00/5 (No votes)
9 Apr 2011 1  
Many of us want to use CSS 3.0. This feature is promised in Visual Studio 2010 however if you open any given CSS file, the option does not appear in

This articles was originally at wiki.asp.net but has now been given a new home on CodeProject. Editing rights for this article has been set at Bronze or above, so please go in and edit and update this article to keep it fresh and relevant.

Many of us want to use CSS 3.0. This feature is promised in Visual Studio 2010 however if you open any given CSS file, the option does not appear in the dropdown. So I decided to write this WIKI to help.

1. Open this link to download the CSS 3.0 installer. Click Here

2. The next step is equally important. Open the registry editor and do the following:

          2a. Find: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{A764E895-518D-11d2-9A89-00C04F79EFC3}\Schemas

          2b. From there add a Key: Schema 5

          2c. Add two string values

                    Keyname: File
                    Value: css30.xml

                    Keyname: Friendly Name
                    Value: CSS 3.0

3. Make sure css30.xml is located in C:\program files\Microsoft Visual Studio 10.0\common7\packages\1033\schemas\css

4. In there you will find css.xsd, css10,css20,css21, and css-ie60. If you don't find CSS30.xml in this folder use windows search and copy the css30.xml file into this folder

5. Restart VS and open any given CSS file. Select CSS 3.0 and it should have CSS 3.0 validation enabled.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here