关闭msbuild警告(MSB3305)

编程入门 行业动态 更新时间:2024-10-09 07:25:58
本文介绍了关闭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 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)

本文发布于:2023-11-13 06:14:09,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1583666.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:msbuild

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!