• VS2010 插件 CSS3 IS 2.1.1 在win7 64位机子上安装小记


    该plugin是英文版的,故对中文支持不是很给力,而且在64位机子上安装会有些问题

    具体情况是安装后在visual studio的css编辑器中无法选上css3.0的验证规则,造成这种情况的原因是这个插件没有将css30.xml验证规则文件拷贝到visual studio的中文(2052)目录下,所以需要手动将该文件拷贝下

    将vs安装目录下Microsoft Visual Studio 10.0\Common7\Packages\1033\schemas的css30.xml文件拷贝到

    Microsoft Visual Studio 10.0\Common7\Packages\2052\schemas目录下即可

    1033对应的是英文,2052对应的是中文

    还有点题外的是在查找问题时发现的,在64位系统下,vs的css验证规则定义路径是:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Packages\{A764E895-518D-11d2-9A89-00C04F79EFC3}\Schemas

    而32位系统下是在

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Packages\{A764E895-518D-11d2-9A89-00C04F79EFC3}\Schemas下,这点比较有趣

    该插件链接:http://visualstudiogallery.msdn.microsoft.com/7211bcac-091b-4a32-be2d-e797be0db210?SRC=VSIDE

    The prob is that you need the CSS 3.0 schema. If you want you can try to create one yourself and this is how. I assume that you are using a x64 Windows:

    1. Copy the file CSS21.xml to CSS30.xml in the following directory: 
      C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\1033\schemas\CSS\
    2. Open the Registry Editor and navigate to the following key:
      HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Packages\{A764E895-518D-11d2-9A89-00C04F79EFC3}\Schemas
    3. Add a new key named Schema 5.
    4. Under the key Schema 5 add a new string value named File and set the value to css30.xml
    5. Under the key Schema 5 add a new string value named Friendly Name and set the value to CSS 3.0
    6. Start Visual Studio 2010 and open a CSS file and you will see a new entry in the list dropdown list named "CSS 3.0"
  • 相关阅读:
    systabcontrol32
    winform 进程唯一,打开第二个激活第一个进程的窗体显示
    winform在 Xp下杀死进程
    安装包创建桌面快捷方式
    [最短路/线段树大法优化DIJ] 【模板】单源最短路径(标准版)
    [线段树模板题] 线段树2
    [线段树优化应用] 数星星Star
    [倍增思想/变种最短路] 跑路
    [DP/变种背包] SOFTWARE
    [前缀和/数论] 数列
  • 原文地址:https://www.cnblogs.com/Bodil/p/2086527.html
Copyright © 2020-2023  润新知