visual-studio - 构建 ASP.NET 网站项目时如何禁用 "Validating Web Site"步骤?

标签 visual-studio build-process asp.net

有时,我想在构建 ASP.NET 网站项目时跳过网站验证以节省时间。是否有 Visual Studio 选项或任何其他方法可以关闭此行为?

最佳答案

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

网站项目,属性页(在 VS 2010 中):

enter image description here

关于visual-studio - 构建 ASP.NET 网站项目时如何禁用 "Validating Web Site"步骤?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6375055/

相关文章:

c++ - 通过循环删除 vector 中的数据导致断点

java - 如何在 Java 中打印构建目标?

c# - 使项目在多个 .NET 版本之间保持同步

c# - ASP.NET MVC C# Razor SQL 1 of 2 几乎相同的更新查询不起作用

c# - LINQ 投影上的代码覆盖率

c++ - 自定义内存管理器在 Release模式下工作正常,但在 Debug模式下不行

c# - Windows 7 IIS 7.5 与 System.ComponentModel.Browsable 属性的奇怪行为

c# - DataView RowFilter 类似运算符

c++ - 我应该用/MD 还是/MT 编译?

java - Maven 父 pom 与模块 pom