You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a test project written in vb.net.
When i generate the Step Definitions for a new scenario in a feature file in VS2022, the generated code is c#. I cannot find anywhere that this can be changed to Visual Basic. The extension in VS 2019 generated Visual Basic code for the same steps.
Using VS 2022 17.7.3 and am unable to upgrade to newer version as it messes up my 32-bit Winforms Application
Steps to Reproduce
Create a Net472 VB.Net Winforms project and a VB.Net MSTest project (not Specflow project) using VS2022. Add the references for Specflow.MsTest (3.9.74) to the MSTest project. Add a new Specflow feature file to the MSTest App and add a simple test. Build and then right click on a step and select Define Steps. The code displayed is c#. Do the same (select Generate Step Definitions) in VS 2019 and Visual Basic code is generated
Link to Repository Project
No response
The text was updated successfully, but these errors were encountered:
Used Visual Studio
Visual Studio 2022
Are the latest Visual Studio updates installed?
No
SpecFlow Section in app.config or content of specflow.json
{
"$schema": "https://specflow.org/specflow-config.json"
}
Issue Description
I have a test project written in vb.net.
When i generate the Step Definitions for a new scenario in a feature file in VS2022, the generated code is c#. I cannot find anywhere that this can be changed to Visual Basic. The extension in VS 2019 generated Visual Basic code for the same steps.
Using VS 2022 17.7.3 and am unable to upgrade to newer version as it messes up my 32-bit Winforms Application
Steps to Reproduce
Create a Net472 VB.Net Winforms project and a VB.Net MSTest project (not Specflow project) using VS2022. Add the references for Specflow.MsTest (3.9.74) to the MSTest project. Add a new Specflow feature file to the MSTest App and add a simple test. Build and then right click on a step and select Define Steps. The code displayed is c#. Do the same (select Generate Step Definitions) in VS 2019 and Visual Basic code is generated
Link to Repository Project
No response
The text was updated successfully, but these errors were encountered: