How to selectively suppress markup validation in Visual Studio?

荒凉一梦 提交于 2019-12-07 11:06:59

问题


Sometimes I find it useful to be able to suppress certain markup validation warnings within files that contain HTML (ASPX, etc.).

Is there an equivalent of #pragma warning disable\restore for HTML?


回答1:


There are similar questions around, see this and that.

Unfortunately there is no solution to do it selectively. Only a global turn-off of the validation will hide those warnings.



来源:https://stackoverflow.com/questions/8838665/how-to-selectively-suppress-markup-validation-in-visual-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!