T4MVC: System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'EnvDTE80.CodeClass2'. -


By using T4 MVC and trying to run 'custom tools' I get this:

Walking Change: System .invalidCastException: Type 'COM. Unable to insert object 'in the COM object' Interview type 'EnvDTE80.CodeClass2' IAD '{295ADCD4-B052-49EE-934E-C6B36862A7C6}' Interface with QueryInterface call failed due to the following error: No such interface supported Is (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

This affects the whole machine, not a personal project.

I have tried:

  • reinstalling
  • Uninstallation
  • VS restart
  • Machine Restart

Understand this.

Remove the project from the solution and add it again.


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -