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
Bindings cannot be discovered in .NET 8 application #2726
Comments
We also have the same problem with NUnit |
I thought I saw a PR for this issue. But now I can't seem to find it any more. Did I hallucinate, or is the PR removed? |
Experiencing the same issues sadly |
Nope, I saw it too. Would be cool to have a fix, manually searching the bindings is a pain. |
Using SpecFlow's VisualStudio extension version 2022.1.91.26832, which pulls in SpecFlow.NUnit version 3.9.40, I cannot duplicate this problem. |
Hi, I tried these versions without success. But when right clicking on a step and then "Define Steps..." I saw this error:
I will try to setup a mini project that I can share. Maybe I can reproduce the error there. |
Browsing through the code I found that this issue is not specflow in general but the VS integration and the issue is tracked here: There is also the missing PR ;) SpecFlowOSS/SpecFlow.VS#146 |
Until it will be published to the marketplace, you can install this version from the VSIX file attached to the release: https://github.com/SpecFlowOSS/SpecFlow.VS/releases/tag/v2022.1.93-net8 |
Did that and it works like a charme. I think we can close this here? |
The new VSIX file works for me too. Thanks @gasparnagy! |
Thanks @gasparnagy |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
SpecFlow Version
2021.0.200
Which test runner are you using?
xUnit
Test Runner Version Number
N/A
.NET Implementation
.NET 6.0
Project Format of the SpecFlow project
Sdk-style project format
.feature.cs files are generated using
SpecFlow.Tools.MsBuild.Generation NuGet package
Test Execution Method
Visual Studio Test Explorer
SpecFlow Section in app.config or content of specflow.json
There isn't one
Issue Description
Warning: The project bindings (e.g. step definitions) could not be discovered. Navigation, step completion and other features are disabled.
Steps to Reproduce
Link to Repro Project
No response
The text was updated successfully, but these errors were encountered: