I am in the process of creating Azure Resource Manager deployment templates for my project using the Azure Resource Group Project in Visual Studio 2015 project templates. I successfully managed to create the projects before. But today, I updated the Azure SDK to v2.9.5 and suddenly the project creation failed. It failed with the following error message.
Unable to cast COM object of type 'System.__ComObject' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '866311E6-C887-9833-645F5B93F6F1}' failed due to the following error: No cush interface supported (Exception from HRESULT: 0x80004002 (E_NONINTERFACE)).
This exception happens when i select starting template from the template selection dialog box (I selected WebApp+SQL template. This fails for other templates as well). So after this the project is incomplete created.
I faced this same issue in 3 different PCs with Azure SDK v2.9.5 installed. Is this issue related to the SDK itself? Or how should i fix this.
We have bug and are working on a fix. In the meantime you can:
LMK if that doesn't fix it for you...
I experienced this same issue when trying to create a new azure project for an existing application.
I was able to workaround the problem by creating a new project with a new solution and selecting the template I wanted. I then added the azure template project into my existing project without issue.
Try this: Open 'cmd' with Administrator privileges,
regsvr32 "C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\dte80.olb"
regsvr32 "C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\dte80a.olb"
regsvr32 "C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\dte90.olb"
regsvr32 "C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\dte90a.olb"
User contributions licensed under CC BY-SA 3.0