SpecFlowOSS / SpecFlow.VS

The next version of the Visual Studio extension for SpecFlow
MIT License
39 stars 12 forks source link

Spec flow step definition creation issue #92

Open srilathavanukuri opened 2 years ago

srilathavanukuri commented 2 years ago

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

Hi Team,

I have created Spec flow and generated step definition for a project in VS 2022. Due to some issue I have deleted the old project including spec flow and steps. After i created a new project with spec flow and while generating step definition getting below error.

Warning: Show Problem: User Notification: All steps have been defined in this file already.

Steps to Reproduce

Create New project ,Spec flow feature and generate Step definition.

Link to Repository Project

No response

Msplint commented 2 years ago

Hi,

I managed to get this fixed. Try building the solution. The text will become purple and you will be able to generate the code.