gpt4 book ai didi

msbuild - 修复 COM 引用 : The type library importer could not convert the signature for the member DISPPARAMS. rgvarg

转载 作者:行者123 更新时间:2023-12-02 01:57:37 32 4
gpt4 key购买 nike

我有一个构建服务器,我可以在其中构建 Visual Studio 扩展。我最近迁移到另一台服务器,现在我收到以下警告:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1988,5): warning MSB3305: Processing COM reference "" from path "C:\Windows\SysWOW64\stdole2.tlb". The type library importer could not convert the signature for the member 'DISPPARAMS.rgvarg'. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1988,5): warning MSB3305: Processing COM reference "" from path "C:\Windows\SysWOW64\stdole2.tlb". The type library importer could not convert the signature for the member 'DISPPARAMS.rgdispidNamedArgs'.

此新服务器与以前的服务器之间的主要区别在于,以前的服务器安装了独立外壳(Microsoft Visual Studio Management Studio)。我想我缺少服务器注册,但我不知道是哪个。

最佳答案

虽然不是问题的解释,this link on MSDN显示如何通过将以下项添加到 .csproj 文件顶部的 PropertyGroup 来抑制警告:

<ResolveComReferenceSilent>True</ResolveComReferenceSilent>

关于msbuild - 修复 COM 引用 : The type library importer could not convert the signature for the member DISPPARAMS. rgvarg,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13450058/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com