Result collection has not been started after all steps were passed
Version number:
packages.config<PackageReference> tagsSpecFlow.Tools.MsBuild.Generation NuGet packageSpecFlowSingleFileGenerator custom toolEnable SpecFlowSingleFileGenerator Custom Tool option in Visual Studio extension settings<Major>.<Minor>.<Patch>
Result collection has not been started after all steps were passed.
1 . Run some scenario
Could you please create a project to reproduce the issue. Thanks!
Could you please create a project to reproduce the issue. Thanks!
Yes, I could. This is link for project with this issue
https://github.com/penknife/SpecflowIssue.git
I send you a PR (https://github.com/penknife/SpecflowIssue/pull/1) with the fix.
The problem was, that you were using the SingleFileGenerator wit SpecFlow 3.0. Normally it doesn't work anymore. No idea why it worked in your case.
But the problem was, that it was still generated code for SpecFlow 3.0. We changed the generation with 3.1. So generated code for 3.0 doesn't work for 3.1.
The PR add the SpecFlow.Tools.MSBuild.Generation package, which generates the code-behind files now when you compile your project.
see:
I send you a PR (penknife/SpecflowIssue#1) with the fix.
The problem was, that you were using the SingleFileGenerator wit SpecFlow 3.0. Normally it doesn't work anymore. No idea why it worked in your case.
But the problem was, that it was still generated code for SpecFlow 3.0. We changed the generation with 3.1. So generated code for 3.0 doesn't work for 3.1.The PR add the
SpecFlow.Tools.MSBuild.Generationpackage, which generates the code-behind files now when you compile your project.see:
Oh thanks I will try to fix in my project)))
Should I do any extra steps after pulling your fix?
No. Why?
Thank you))) everything's works as expected



So, i think the issue is reproducible.

@ashwinkallembi could you please create a new issue and attach a repro project to it? We thought we fixed this issue, but it doesn't look like it.
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.