Skip to content
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

Error from Generating Step Definitions in .NET 8 vsix #164

Open
stevenmolencsat opened this issue Jul 2, 2024 · 0 comments
Open

Error from Generating Step Definitions in .NET 8 vsix #164

stevenmolencsat opened this issue Jul 2, 2024 · 0 comments

Comments

@stevenmolencsat
Copy link

Used Visual Studio

Visual Studio 2022

Are the latest Visual Studio updates installed?

Yes

SpecFlow Section in app.config or content of specflow.json

No response

Issue Description

Installed .NET 8 enabled extension . v2022.1.93-net8 (2022.1.93.29730).

  1. the Template install still only shows .NET 6 in the drop down instead of also having a .NET 8. This had to be done manually at the csproj level.
  2. Getting "Cannot access a disposed object" when trying to implement the step definitions via the context menu.
  3. Gherkin file won't recognize my step definitions until VS.NET is rebooted.

Steps to Reproduce

  • install vs version 17.8.7
  • install extension 2022.1.93.29730
  • Add a project from the templates (no .net 8 in the drop down menu)
  • Add a Feature file.
  • Fill in feature file
  • Use context menu to "Define Steps"
  • Answer yes to create the step definition file
  • Error Message ensues.
  • Close down visual studio and open it back up
  • Feature file is now shown not purple

image

Link to Repository Project

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant