Search code examples
visual-studiobuild-processasp.net

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?


Solution

  • 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