Move from net 7 to net 8

Dani_S 2,886 Reputation points
2023-10-20T10:53:10.5733333+00:00

Hi,

On November we moved to Net 8.

I have Maui app + project reference to library in net 7.

1.What i need to do in order to move to net 8 ?

  1. i need to download dotnet 8 in order to run the app form https://dotnet.microsoft.com/en-us/download/dotnet/8.0
  2. i need to remove the 7 runtime and Sdk also ?

Thanks.

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

Accepted answer
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
    2023-10-23T07:05:55.7833333+00:00

    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-* to net8.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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful