Disable Visual Studio's validation of non-xml files that look like xml?

前端 未结 3 1194
广开言路
广开言路 2021-01-11 11:52

I have a bunch of Velocity template files in a Visual Studio 2008 project, the problem is that despite the fact that the extension is .vm instead of .xml<

3条回答
  •  有刺的猬
    2021-01-11 12:18

    Have you tried: right-click on a .VM file, select Properties. There you can change the Build Action, you might want to set it to either Content or None.

提交回复
热议问题