How to suppress all warnings using MSBuild

后端 未结 4 1194
悲&欢浪女
悲&欢浪女 2020-12-10 01:10

How would I suppress all warnings (or at least as many as possible since those prefixed with MSB cannot be suppressed How to suppress specific MSBuild warning)?

4条回答
  •  感情败类
    2020-12-10 01:44

    The best way is to fix the issues that are causing the warnings.

    If you must ignore the warnings (e.g. you have inherited a project with so many that you can't see the wood for the trees), you could try changing the WarningLevel property, http://msdn.microsoft.com/en-us/library/13b90fz7.aspx

提交回复
热议问题