Feature file are not loading properly
Whenever I create feature files, the feature.cs files are loaded during every build, which causes ambiguity issues.
But I want to create my feature file in the following way:
-
Hi navreenabubacker,
What is the exact issue you are facing here so I can best advise?
0 -
Feature.cs file is getting generated separately in a different folder. Due to which I'm getting errors.
0 -
navreenabubacker, Can you remove the files (both feature and .cs file), re-add the feature to the folder you wish it to be in and see if the issue happens again?
0 -
Issue persists
0 -
navreenabubacker can you let me know the following -
1. Which version of the SpecFlow extension you are using (2022, 2019 etc.)
2. Did you use the SpecFlow project template?
3. Which .NET version is your project based on?
0 -
navreenabubacker I have tried this in VS2022 using .NET 6, re-creating the same folder structure but I can get it to do the same thing.
Can you remember what you did in this project leading up to this issue?
Is it a dummy project? If so, can you share it?
0 -
Specflow for Visual Studio 2019
Specflow+Runner template
.NET Framework 4.7.2
0
Please sign in to leave a comment.
Comments
7 comments