Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After updating Visual Studio 2022 to latest version getting Error #163

Open
somnath0991 opened this issue Jun 21, 2024 · 0 comments
Open

Comments

@somnath0991
Copy link

Used Visual Studio

Visual Studio 2022

Are the latest Visual Studio updates installed?

Yes

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

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

Error hash: 78671751
Microsoft.VisualStudio.Composition.CompositionFailedException: Expected 1 export(s) with contract name "Reqnroll.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 Reqnroll.VisualStudio.VsUtils.ResolveMefDependency[T](IServiceProvider serviceProvider) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Reqnroll.VisualStudio.Package\VsUtils.cs:line 362
at Reqnroll.VisualStudio.ProjectSystem.VsIdeScopeLoader.LoadProjectSystem() in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Reqnroll.VisualStudio.Package\ProjectSystem\VsIdeScopeLoader.cs:line 81

Steps to Reproduce

  1. Opening Solution in Visual Studio
  2. Add Extension as Specflow
  3. Pop up asking to Close VS to get changes of extension get installed
  4. Close Visual Studio
  5. wait for changes installed
  6. again open Visual Studio
  7. Again pop up will appear

Link to Repository Project

https://github.com/HON-HCE/APM-hcp-apm-testautomation.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant