how can i suppress all compiler and code analysis warnings from msbuild at the command line?

后端 未结 6 1464
感情败类
感情败类 2021-01-11 17:45

This has been asked, but wasn\'t answered. The answer (use /warn:1) doesn\'t work for msbuild.exe, only csc.exe. Perhaps I\'m missing something between csc and

6条回答
  •  臣服心动
    2021-01-11 18:27

    I have tried this and cannot suppress the warnings either, unless I list them out on the /NoWarn property for msbuild.exe

提交回复
热议问题