D365DeveloperExtensions icon indicating copy to clipboard operation
D365DeveloperExtensions copied to clipboard

Unable to create plugin test project

Open alloylo opened this issue 1 year ago • 0 comments

Environment:

  • Microsoft Visual Studio Community 2022 (64-bit) -Version 17.11.5.
  • .NET 4.6.2
  • Extension version latest version: 3.0.2276.1704

Error: Error occurred running template wizard: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{FFB2E715-7312-4B93-83D7-D37BCC561C90}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at D365DeveloperExtensions.Core.Vs.ProjectWorker.GetProjectTypeGuids(Project project) at D365DeveloperExtensions.Core.Vs.ProjectWorker.IsUnitTestProject(Project project) at D365DeveloperExtensions.Core.Vs.ProjectWorker.FilterUnitTestProjects(List1 list) at D365DeveloperExtensions.Core.Vs.ProjectWorker.GetProjects(Boolean excludeUnitTestProjects) at TemplateWizards.TestProjectPicker.GetProjects() at TemplateWizards.TestProjectPicker..ctor() at TemplateWizards.ProjectTemplateWizard.PreHandleUnitTestProjects(Dictionary2 replacementsDictionary) at TemplateWizards.ProjectTemplateWizard.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)

I#ve tried to :

  • reinstall the extension
  • the creation of the plugin project works perfectly.

alloylo avatar Oct 24 '24 12:10 alloylo