关闭msbuild警告(MSB3305) [英] Turning off msbuild warnings (MSB3305)

查看:643
本文介绍了关闭msbuild警告(MSB3305)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好-

是否有 ANY 方法来关闭msbuild警告(例如MSB3305)?

is there ANY way to turn off msbuild warnings (e.g. MSB3305)?

09:50:17.900    29> C:\ Program Files(x86)\ MSBuild \ 12.0 \ bin \ amd64 \ Microsoft.Common.CurrentVersion.targets(2234,5):警告MSB3305:处理COM参考"从路径"C:\ Windows \ System32 \ stdole2.tlb".类型库导入程序无法转换成员'DISPPARAMS.rgvarg'的签名. [C:\ Builds \ 1 \ BINARY \ Tool_CI \ src \ Tool \ Apps \ Platform \ Platform.csproj]

09:50:17.900    29>C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(2234,5): warning MSB3305: Processing COM reference "" from path "C:\Windows\System32\stdole2.tlb". The type library importer could not convert the signature for the member 'DISPPARAMS.rgvarg'. [C:\Builds\1\BINARY\Tool_CI\src\Tool\Apps\Platform\Platform.csproj]

推荐答案

周杰伦,

我看到您不想将警告级别设置为0,以关闭所有警告消息的发送.但是,如果要禁用警告(除了将警告级别更改为0),最好的方法是修复引起警告的问题.

I see that you don't want to set the warning level to 0 to turn off emission of all warning messages. But, if you want to disable the warnings except for changing the warning level to 0, the best way is to fix the issues that are causing the warnings.

最好的问候


这篇关于关闭msbuild警告(MSB3305)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆