Skip to main content

Comments

6 comments

  • Andreas Willich

    What is the error you are getting?

    0
  • David Houghton

    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
  • Andreas Willich

    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
  • David Houghton

    Hi Andreas,

     

    uploaded to GitHub, https://github.com/dave0504/SpecFlowError

     

    Cheers.

    0
  • Andreas Willich

    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
  • David Houghton

    Cheers Andreas, not sure how that happened, or that I didn't spot it.

    0

Please sign in to leave a comment.

Powered by Zendesk