[MAUI] Target .NET runtime to .NET 7

Sunshine 46 Reputation points
2022-09-20T05:19:35.71+00:00

Hi team,
How to resolve the errors after targeting .NET runtime to .NET 7 in MAUI projects?
Thanks.

Best Regards

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

1 answer

Sort by: Most helpful
  1. Sreeju Nair 12,346 Reputation points
    2022-09-20T05:32:37.857+00:00

    See the documentation below.

    .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.

    https://github.com/dotnet/maui/wiki/.NET-7-and-.NET-MAUI

    Hope this helps


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.