I encountered an issue when trying to create a .NET MAUI project as .NET 6 doesn't seem to be available.

Sarfaraz Sable 20 Reputation points
2023-11-30T09:39:54.5666667+00:00

I recently installed Visual Studio 2022 (version 17.8.2) and opted for the .NET 6 framework during installation. While attempting to create an ASP.NET Core project, I was able to select .NET 6 successfully. However, I encountered an issue when trying to create a .NET MAUI project as .NET 6 doesn't seem to be available.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,186 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor
    2023-12-01T05:50:27.1133333+00:00

    Hello,

    .NET MAUI 6 is no longer supported.

    Please create a MAUI project based on the .NET7 or .NET 8.

    If you want to know more details about MAUI support policy, you can refer to this .NET Multi-platform App UI (.NET MAUI) Support Policy.

    Best Regards,

    Leon Lu


    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.


0 additional answers

Sort by: Most helpful