Cannot find wrapper assembly for type library "EnvDTE100".

  • Thread starter Thread starter Wally9633
  • Start date Start date
W

Wally9633

Guest
Hi All,

Many years ago, I developed a set of macro functions for Visual Studio (VS2005).
It utilized the EnvDTE object.

When Microsoft did away with macros, I was PO'ed.

At the time, I managed to figure out how to get my macro functions into an Add-in.

When Microsoft did away with Add-ins, I was PO'ed x 3.

I managed to figure out how to get my functions from the Add-in into a library,
then call into that library from a VSIX extension.

Recently, I tried to change a function within the library, then rebuild it.

It has failed to build. I do not get any errors, but I have some warnings:


Warning
IDE0006 Error encountered while loading the project.
Some project features, such as full solution analysis for the failed project
and projects that depend on it, have been disabled.

Warning
Cannot find wrapper assembly for type library "EnvDTE100".
Verify that (1) the COM component is registered correctly
and (2) your target platform is the same as the bitness of the COM component.
For example, if the COM component is 32-bit, your target platform must not be 64-bit.

Warning
Cannot find wrapper assembly for type library "EnvDTE90".
Verify that (1) the COM component is registered correctly
and (2) your target platform is the same as the bitness of the COM component.
For example, if the COM component is 32-bit, your target platform must not be 64-bit.

Warning
Cannot find wrapper assembly for type library "EnvDTE80".
Verify that (1) the COM component is registered correctly
and (2) your target platform is the same as the bitness of the COM component.
For example, if the COM component is 32-bit, your target platform must not be 64-bit.

Warning
Cannot find wrapper assembly for type library "EnvDTE".
Verify that (1) the COM component is registered correctly
and (2) your target platform is the same as the bitness of the COM component.
For example, if the COM component is 32-bit, your target platform must not be 64-bit.





I tried this:
Remove old COM references to EnvDTE, EnvDTE80, EnvDTE90 and EnvDTE100.
Add new references using Assemblies | Extensions tab and select EnvDTE, EnvDTE80, EnvDTE90,
EnvDTE100.

It did not work.

I've tried changing the platform and target CPU to x86 in my project properties.

That did not work either.

This is Visual Studio Community 2017 version 15.9.2 on an up-to-date Windows 10 system.

Can someone PLEASE tell me how to fix this?

THANK YOU!



Wally

Continue reading...
 
Back
Top