-
Notifications
You must be signed in to change notification settings - Fork 6
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
.feature.cs files are not re-generated automatically. Have to re-build the project #21
Comments
Let me know if you want me to upload the demo project. But it's just a default netcore 2.2 xUnit project with specflow libs.
|
In SpecFlow v3, the generation of the code behind files has been entirely moved to build time using the SpecFlow.Tools.MsBuild.Generation NuGet package, so the fact that the code behind files are only visible after build that's absolutely normal. The "Unable to jump to the step definition. No source location detected" error message might be an issue, I check it and get back to you. |
Ok. The jumping to async step def is a bug. I have created a separate issue #23 for tracking it. I close this one as the build-time generation is the by-design behavior in SpecFlow v3. |
I have to re-build the project in order to get .feature.cs files updated.
My guess that it might be related to async steps in my project (I see "Unable to jump to the step definition. No source location detected" for async steps).
Please, let me know if you need more details.
VS 2017 v15.9.10, .netcore 2.2 (or 2.3 - not sure).
Extension version is 1.1.1.
The text was updated successfully, but these errors were encountered: