- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.9k
 
.NET 7 and .NET MAUI
        Gerald Versluis edited this page Jun 24, 2022 
        ·
        5 revisions
      
    .NET 7 previews have begun shipping! After .NET MAUI GA release (see roadmap), we will start including .NET MAUI workloads in the .NET 7 preview releases. Until then, .NET MAUI requires .NET 6.
From Visual Studio 2022, no changes are needed to continue building .NET MAUI applications
To pin your applications to .NET 6 for the time being, use a global.json within your project directory.
{
    "sdk": {
      "version": "6.0.300",
      "rollForward": "latestMinor"
    }
  }Note The exact version might be different when you're reading this, but the
rollForwardsetting makes sure that it uses the latest .NET 6 version that is installed on your system. Also see: https://docs.microsoft.com/dotnet/core/tools/global-json