Add Microsoft.Extensions.DependencyInjection.Abstractions to connector outputs #146
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User projects using
Reqnroll.Microsoft.Extensions.DependencyInjectionorSolidToken.SpecFlow.DependencyInjectionplugins causeFileNotFoundExceptionforMicrosoft.Extensions.DependencyInjection.Abstractionswhen connectors analyze project bindings. The assembly was missing from connector outputs.Changes
Added
Microsoft.Extensions.DependencyInjection.Abstractionsv8.0.0 package reference to all connector projects:Technical notes
Using v8.0.0 instead of v6.0.0: Backward compatible with plugins targeting v6.0.0, better alignment with modern .NET versions used by generic connectors, lower conflict risk with VS 2022/2025 components.
Packaging: Assembly automatically included in VSIX via
DeploymentAssets.propswhich copies all connector outputs. No manifest changes required.Stack trace resolved:
Original prompt
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
at Reqnroll.Microsoft.Extensions.DependencyInjection. DependencyInjectionPlugin.CustomizeGlobalDependencies(Object sender, CustomizeGlobalDependenciesEventArgs args)