How to add .NET Framework 6.0 & 7,0 to VS 2022

Jeff Stiegler 466 Reputation points

I have installed .NET SDK for 6.0 and 7.0 but they do not appear on the Target framework drop down under Properties. How do I add these?

VS Target Framework

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,082 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 20,176 Reputation points Microsoft Vendor

    Hi @Jeff Stiegler

    Welcome to Microsoft Q&A! 

    As the Ronald Rex suggests, you can target .NET 6.0 or 7.0 in your application by modifying the target framework in your project file (e.g. .csproj): 


    Or you can install the .NET Upgrade Assistant extension to upgrade apps from .NET Framework to .NET. (Please backup your projects before using the tool.) 



    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.