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

后端 未结 6 1463
感情败类
感情败类 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:21

    Looks like it is not possible...

    Warnings with MSB prefix are thrown by MSBuild. Currently, we can't suppress MSBuild warnings.

提交回复
热议问题