How to selectively suppress markup validation in Visual Studio?

1.2k views Asked by At

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 1 answers

2
Dio F On

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.