简体   繁体   中英

Can I configure the compiler in Visual Studio to give warnings / errors for all non-localized strings?

I would like the compiler to detect all non-localized strings in my solution. This means any string in an .aspx or .cs file that doesn't come from a resource file.

Visual Studio 2010's Code Analysis can do this. (Although not for ASPX files)

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