Set suppress warnings for website
问题 I am working with a project from another developer that has hundreds of obsolete method warnings. In the compiled dlls, I set suppress warnings 618 (the full warning number is CS0618). Is there a way to set the same setting on a web site? The problem is that there are so many obsolete warnings that I can't find any of the important ones. 回答1: I believe you need to specify this in the web.config. See also: Compiler Element and Web Project Settings <system.codedom> <compilers> <compiler