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 | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Developer technologies | C#
Developer technologies | 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.
{count} votes

Answer accepted by question author
  1. Bruce (SqlWork.com) 81,981 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.