How to Update Visual Studio's “Cascading Style

2019-04-29 14:05发布

In my Visual Studio 2010, the "Cascading Style Sheet Version For Validation" is targeting CSS version 2.1. How can I update VS to target CSS version 3?

2条回答
劳资没心,怎么记你
2楼-- · 2019-04-29 14:52

Option 2 is to go into C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\1033\schemas\CSS and rename css30.xml to css21.xml (backup your files first of course).

That way, even though VS will show it is validating for version 2.1 it will really be validating for version 3.0

查看更多
孤傲高冷的网名
3楼-- · 2019-04-29 14:54

I just downloaded and installed Mojtaba.kaviani's "CSS 3 Intellisense Schema" and now my VS2010 has Intellisense support for CSS3 validation.

查看更多
登录 后发表回答