SpecFlowOSS / SpecFlow.VisualStudio

Visual Studio extension of SpecFlow (extracted from the main SpecFlow repo)
Other
67 stars 73 forks source link

[DevExE2E]".NET 7.0" option is missing from the framework list when create a new SpecFlow project. #210

Open vdanche opened 1 year ago

vdanche commented 1 year ago

Used Visual Studio

Visual Studio 2019

Are the latest Visual Studio updates installed?

Yes

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

No response

Issue Description

".NET 7.0" option is missing from the framework list when create a new SpecFlow project.

Steps to Reproduce

Affected Branch: Main

Affected Build:17.6.0 Preview 2.0 [33501.379.main]

Affected Product Language:

Affected Build Link: Pipelines - Run main-33501.379 (visualstudio.com) Preview Channel

Pre-step:

1.Navigate to "Extensions -> Manage Extensions ->Online" and search for "SpecFlow" in the search bar.

2.Hit Download. You'll need to restart VS for the installation to completed.

  1. File > New Project > SpecFlow Project > Next > Create 2.On Create a new SpecFlow Project page -> Test Framework: "MSTest " / "Nunit" / “Xunit"
  2. Click the drop down button of the ”Framework“ and check

Notes:

  1. Repro VM: 10.214.92.193
  2. This issue is not repro with Mstest/Xunit/Nunit project or Class Library /console app.

Expected Results:

Test should be executed and shown as Skipped within TE window.

Actual Results:

".NET 7.0" option is missing from the framework list.

image

Link to Repository Project

No response

v-hozha1 commented 1 year ago

We used the latest VS2022 for testing. Here is the original issue we filed for reference: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1757271

v-hozha1 commented 1 year ago

".NET 8.0" option also is missing from the framework list.

tvriesde commented 1 year ago

Running into the same problem, using Visual Studio 2022

v-hozha1 commented 1 year ago

The ".NET7.0/.NET8.0" options are still missing from the framework list. And if we unchecked .net6/net5/.net core 2.1/3.1 in VS installer, these tfm still show in newly create SpecFlow project page. Please take both issues together. Thanks a lot. image

v-hozha1 commented 9 months ago

The ".NET7.0/.NET8.0" options are still missing from the framework list on Version 17.10.0 Preview 2.0 [34705.46.d17.10].