以VS2013为例:

1.关闭 Visual Studio

2.打开 C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Packages\schemas\html 文件夹

3.删除 CommonHTML5Types.bin

4.打开 commonHTML5Types.xsd,以防万一,先备份再修改

5.打开文件找到此节点:<xsd:attributeGroup name="commonHTML5coreAttributeGroup"></xsd:attributeGroup>

在此节点中添加需要的提示,例如:

  ...

  ...

  <xsd:attribute name="ms-controller" />
  <xsd:attribute name="ms-include" />

</xsd:attributeGroup>

 6.保存,启动 Visual Studio

 

其他版本的VS,也同理

相关文章:

  • 2021-11-17
  • 2021-06-08
  • 2021-06-11
  • 2021-05-04
  • 2021-06-10
  • 2021-10-07
猜你喜欢
  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案