SpecFlow.VS icon indicating copy to clipboard operation
SpecFlow.VS copied to clipboard

Error from Generating Step Definitions in .NET 8 vsix

Open stevenmolencsat opened this issue 1 year ago • 0 comments

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

stevenmolencsat avatar Jul 02 '24 21:07 stevenmolencsat