Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fix COM reference: The type library importer could not convert the signature for the member DISPPARAMS.rgvarg

I have a build server where I build a Visual Studio extension. I recently migrated to a different server that and now I get the following warnings:

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'.

The primary difference between this new server and the previous server is that the previous server had an Isolated Shell installed (the Microsoft Visual Studio Management Studio). I guess I am missing a server registration, but I have no idea which.

like image 628
Pieter van Ginkel Avatar asked Nov 19 '12 08:11

Pieter van Ginkel


1 Answers

While not an explanation of the problem, this link on MSDN shows how the warning can be suppressed by adding the following item to the PropertyGroup at the top of the .csproj file:

<ResolveComReferenceSilent>True</ResolveComReferenceSilent>
like image 162
Ervin Czimskey Avatar answered Sep 27 '22 22:09

Ervin Czimskey