John K
John K

Reputation: 28897

How to disable "Validating Web Site" step when building an ASP.NET Web Site project?

Sometimes, I want to skip validation of the web site to save time when I build an ASP.NET Web Site project. Is there a Visual Studio option or any other means to turn off this behaviour?

Upvotes: 15

Views: 10610

Answers (2)

jTC
jTC

Reputation: 1350

Some of the earlier service packs had issues with Validating taking a while (days in some cases). Check and see if you can update Visual Studio and seem if that resolves the issue.

Upvotes: 0

John K
John K

Reputation: 28897

Re: How do I turn off 'validating web pages'. May 21, 2008 02:52 AM

Hi,

Validating Web Site is important. It does the following tasks:

Validate web.config to make sure that all settings are legal. Validate aspx page's markup. List error in the Error List. If you don't want to validate, you can set your project to "No Build" or "Build Page" before running startup page.

For more information, please refer to http://forums.asp.net/t/939998.aspx.

I hope this helps.

Thomas Sun Microsoft Online Community Support

-- http://forums.asp.net/t/1262277.aspx

Website project, Property Pages (in VS 2010):

enter image description here

Upvotes: 24

Related Questions