如何在Visual Studio中选择燮preSS标记验证? [英] How to selectively suppress markup validation in Visual Studio?

查看:190
本文介绍了如何在Visual Studio中选择燮preSS标记验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时候,我发现它很有用,能够对包含HTML文件中的坐席preSS某些标记验证警告(ASPX,等等)。

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

的#pragma警告无效等价\\恢复为HTML?

推荐答案

大约有类似的问题,请参见<一个href=\"http://stackoverflow.com/questions/12366426/html-doctype-for-includes-visual-studio-or-html-generic\">this和<一个href=\"http://stackoverflow.com/questions/195293/disable-visual-studios-validation-of-non-xml-files-that-look-like-xml\">that.

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.

这篇关于如何在Visual Studio中选择燮preSS标记验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆