SpecFlow.VS icon indicating copy to clipboard operation
SpecFlow.VS copied to clipboard

SpecFlow Visual Studio Extension failing when loading any project in VS

Open jos-01-02 opened this issue 1 year ago • 5 comments

Used Visual Studio

Visual Studio 2022

Are the latest Visual Studio updates installed?

Yes

SpecFlow Section in app.config or content of specflow.json

No response

Issue Description

Error hash: 922178479 Microsoft.VisualStudio.Composition.CompositionFailedException: Expected 1 export(s) with contract name "SpecFlow.VisualStudio.ProjectSystem.VsIdeScope" but found 0 after applying applicable constraints. at Microsoft.VisualStudio.Composition.ExportProvider.GetExports(ImportDefinition importDefinition) at Microsoft.VisualStudio.Composition.ExportProvider.GetExports[T,TMetadataView](String contractName, ImportCardinality cardinality) at Microsoft.VisualStudio.Composition.ExportProvider.GetExport[T,TMetadataView](String contractName) at Microsoft.VisualStudio.Composition.ExportProvider.GetExportedValueT at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetServiceT at SpecFlow.VisualStudio.VsUtils.ResolveMefDependency[T](IServiceProvider serviceProvider) in D:\a\1\s\SpecFlow.VisualStudio.Package\VsUtils.cs:line 362 at SpecFlow.VisualStudio.ProjectSystem.VsIdeScopeLoader.LoadProjectSystem() in D:\a\1\s\SpecFlow.VisualStudio.Package\ProjectSystem\VsIdeScopeLoader.cs:line 81

Steps to Reproduce

-Install SpecFlow -Open VS 2022 -Load any project

Link to Repository Project

No response

jos-01-02 avatar May 01 '24 21:05 jos-01-02

same for me

ulluoink avatar May 16 '24 13:05 ulluoink

and same for me

MiroslawMarcin avatar May 17 '24 10:05 MiroslawMarcin

++ 1 same for me

linhdollyk67 avatar Jun 07 '24 08:06 linhdollyk67

same for me

gopalverma avatar Jul 28 '24 00:07 gopalverma

Related VS 2022 issues https://github.com/SpecFlowOSS/SpecFlow.VS/issues/166

Jamie-Clayton avatar Jul 29 '24 23:07 Jamie-Clayton