-
Notifications
You must be signed in to change notification settings - Fork 12
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
Warning: AndDiscoveryProviderSucceed: The project bindings (e.g. step definitions) could not be discovered. Navigation, step completion and other features are disabled. #172
Comments
I geta similar error... |
Had the same error. Uninstalled Specflow for Visual Studio 2022 extension and reinstalled |
Same error, looks like SpecFlow.MsTest supports only .net 6.0 same msbuild |
For anyone coming across this issue when looking for step binding navigation problems in .NET 8 SpecFlow projects, I found that you can use this release of the extension and step binding navigation will probably work again (it worked for me). Found via this issue. |
I see exactly the same issue - it occured after we upgraded to dot net 8 |
I have that installed and it does not fix the issue! |
@GaryClarkElekta I had to uninstall the extension within VS, then ran the new .vsix manually, and the issue went away. |
The link did fix the issue however the installed version for me is now 2022.1.93.29730 |
Used Visual Studio
Visual Studio 2022
Are the latest Visual Studio updates installed?
Yes
SpecFlow Section in app.config or content of specflow.json
{
"$schema": "https://specflow.org/specflow-config.json",
"language": {
"feature": "en"
},
"plugins": [
{
"name": "SpecFlow.xUnit",
"type": "UnitTestProvider"
}
],
"stepAssemblies": [
{
"assembly": "RadarLiveApiTest"
}
]
}
Issue Description
Info: CreateProjectScope: Initializing project: RadarLiveApiTest
Info: OnSettingsInitialized: Project settings initialized: .NETCoreApp,Version=v8.0,SpecFlow:3.9.74
Info: AndBindingSourceIsValid: Test assembly not found. Please build the project to enable the SpecFlow Visual Studio Extension features.
Warning: AndDiscoveryProviderSucceed: Error during binding discovery.
Command executed:
C:\Work\RadarLive.CalculationService\RadarLiveApiTest\bin\Debug\net8.0> C:\Program Files\dotnet\dotnet.exe exec C:\Users\awuka4707\AppData\Local\Microsoft\VisualStudio\17.0_92047977\Extensions\jupvedwe.tv1\Connectors\Generic-net7.0\specflow-vs.dll discovery C:\Work\RadarLive.CalculationService\RadarLiveApiTest\bin\Debug\net8.0\RadarLiveApiTest.dll C:\Work\RadarLive.CalculationService\RadarLiveApiTest\specflow.json
Exit code:
Message:
You must install or update .NET to run this application.
App: C:\Users\awuka4707\AppData\Local\Microsoft\VisualStudio\17.0_92047977\Extensions\jupvedwe.tv1\Connectors\Generic-net7.0\specflow-vs.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64)
.NET location: C:\Program Files\dotnet\
The following frameworks were found:
3.1.32 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
6.0.32 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
8.0.7 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.0&arch=x64&rid=win-x64&os=win10
Cannot deserialize:
Warning: AndDiscoveryProviderSucceed: The project bindings (e.g. step definitions) could not be discovered. Navigation, step completion and other features are disabled.
Please check the error message above and report to https://github.com/SpecFlowOSS/SpecFlow.VS/issues if you cannot fix.
Steps to Reproduce
Link to Repository Project
No response
The text was updated successfully, but these errors were encountered: