Hello,
From this doc:Upgrading .NET MAUI from .NET 7 to .NET 8
To upgrade from .NET 7 to 8:
- Install .NET 8 and the .NET MAUI workload with Visual Studio 17.8+, or with the standalone installer and
dotnet workload install maui
command. - Change your target framework references from
net7.0-*
tonet8.0-*
No need to remove .NET 7 runtime or SDK.
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.