Share via

.NET 7.0 Framework option is not available after installation of SDK 7.0.100-preview.1

satya karki 991 Reputation points MVP
Feb 20, 2022, 4:41 PM

I downloaded the .NET 7.0 from here. And installed it on my Windows machine but while creating the project, I am not able to get .NET 7.0 in the Framework selection option. What could be the reason can anyone help me?

176099-image.png

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,338 questions
{count} votes

Accepted answer
  1. Lex Li (Microsoft) 6,007 Reputation points Microsoft Employee
    Feb 21, 2022, 1:18 AM

    Clearly when they announced .NET 7 Preview 1 they asked you to use VS2022 17.2 Preview 1,

    https://devblogs.microsoft.com/dotnet/announcing-net-7-preview-1/

    1 person found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Oldest
  1. Bruce (SqlWork.com) 72,356 Reputation points
    Feb 20, 2022, 5:14 PM

    You need to switch to the latest feature preview of vs2022 instead of the release version.

    0 comments No comments

  2. satya karki 991 Reputation points MVP
    Feb 21, 2022, 11:32 AM

    Thank you I got the solution. Installing VS2022 17.2 Preview 1 and switching to the VS2022 17.2 Preview 1 resolved the issue.

    0 comments No comments

  3. Tan Chie Cheng 6 Reputation points
    Oct 6, 2022, 1:51 PM

    you just need to do this, don't need to waste time to reinstall

    https://stackoverflow.com/questions/71816161/how-to-set-target-net7-0-windows
    248154-image.png

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.