你好-
是否有 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 toturn off emission of all warning messages. But, if you want to disable the warnings except for changing the warning level to 0, thebest way is to fix the issues that are causing the warnings.
最好的问候
更多推荐
关闭msbuild警告(MSB3305)
发布评论