Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add Custom Tag to Visual Studio Validation

How can I add rules to Visual Studio (2005 and up) for validating property markup (HTML) for a vendor's proprietary controls?

My client uses a control which requires several properties to be set as tags in the aspx file which generates something like 215 validation errors on each build. It's not preventing me from building, but real errors are getting lost in the noise.

like image 403
Rob Allen Avatar asked Aug 05 '08 13:08

Rob Allen


1 Answers

Right-click on the Source view of an HTML / ASP page and select "Formatting and Validation".

  1. Click "Tag Specific Options".
  2. Expand "Client HTML Tags" and select the heading.
  3. Click "New Tag...".
  4. And just fill it in!

I wish that I could add custom CSS values as well.

like image 147
EndangeredMassa Avatar answered Nov 05 '22 17:11

EndangeredMassa