How can I use .NET6 and .NET7 in Console App (.NET) framework in visual studio?

Mohammadreza Hozoori 20 Reputation points
2023-07-23T10:26:08.4333333+00:00

I had already installed visual studio and could use .NET 6, however, now that I installed this IDE again, the option to use . NET 6 or .NET 7 does not exist for me in Console App (.NET Framework)

Developer technologies | Visual Studio | Setup
Developer technologies | .NET | Other
Developer technologies | Visual Studio | Other
Developer technologies | C#
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 78,236 Reputation points Volunteer Moderator
    2023-07-23T16:39:21.85+00:00

    in visual studio, the pick of project template controls whether it’s a .net core or the old .net runtime project. The framework selection is the version of the runtime. So if you pick a core template .net 4.* is not available and vis-versa.

    the installed “workloads” define the project types (templates) available.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most 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.