Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2008 : Turn off css class verification

Is there a way to stop Visual Studio 2008 from checking whether css classes exist when editing pages and user controls? It seems ridiculous to put dummy stylesheets on every single user control.

like image 468
cbp Avatar asked Feb 25 '09 06:02

cbp


2 Answers

Yes there is a way. Go to Tools>Options->Text Editor->CSS->Css Specific

There is an option fgroup here called Errors with 3 check boxes.

  • Detect Errors

  • Detect Unknown Properties

  • Detect Invalid Values

Hope this Helps,

Andrew :-)

like image 185
REA_ANDREW Avatar answered Nov 09 '22 17:11

REA_ANDREW


The only way to disable it is to turn off HTML Validation:

Tools > Options > Text Editor > HTML > Validation

Uncheck the "Show Errors" check box.

like image 33
mikefrey Avatar answered Nov 09 '22 17:11

mikefrey