VS Pro 2019 not compatible with specflow?
Just updated to VS Pro 2019 16.7.6 and it broke my specflow project. Is anyone else experiencing this?
-
What is the error you are getting?
0 -
I've just tried to use SpecFlow for the first time, but with VS2019 Community (Preview and Release), and have the following errors in the screenshot. Not sure if the poster had the same? I can provide this as a sample project to re-produce if wanted.
0 -
David Houghton Yes, please post the sample project somewhere. What I see on the screenshot makes no sense.
The compiler is complaining that it can't find types, but the syntax highlighting is correct.
0 -
Hi Andreas,
uploaded to GitHub, https://github.com/dave0504/SpecFlowError
Cheers.
0 -
Ok, you have here a strange setup.
You have two project files in the solution.
Outside.OrderStreamSync.csproj and Outside.OrderStreamSync.Specs.csproj
But Outside.OrderStreamSync.Specs.csproj is under Outside.OrderStreamSync.csproj in the folder structure.
So all files in the Outside.OrderStreamSync.Specs.csproj project are also in the Outside.OrderStreamSync.csproj project.
As Outside.OrderStreamSync.csproj also now includes the obj folder of Outside.OrderStreamSync.Specs.csproj, you get this big amount of strange errors.
I created a PR (https://github.com/dave0504/SpecFlowError/pull/1) that fixes the folder structure and the errors are now gone.
0 -
Cheers Andreas, not sure how that happened, or that I didn't spot it.
0
Please sign in to leave a comment.
Comments
6 comments