Skip to content

Unable to create plugin test project Β #43

@alloylo

Description

@alloylo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions