cbp
cbp

Reputation: 25638

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.

Upvotes: 8

Views: 3770

Answers (2)

mikefrey
mikefrey

Reputation: 4691

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

Tools > Options > Text Editor > HTML > Validation

Uncheck the "Show Errors" check box.

Upvotes: 13

REA_ANDREW
REA_ANDREW

Reputation: 10774

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 :-)

Upvotes: 20

Related Questions