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
Post a Comment