简体   繁体   中英

Validate all ASPX, ASCX and HTML files when building

Visual Studio will show errors in an AS?X or HTML file in the Error List window when you have that file open. However once you close the file the error(s) are removed from the Error List.

Is it possible to validate all AS?X and HTML files in one action (ideally as part of building) and show all errors at once?

如果您正在使用Web应用程序项目,则可以添加使用aspnet_compiler编译应用程序的构建任务。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM