Move from net 7 to net 8

Dani_S 4,691 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.

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

Answer accepted by question author
  1. Anonymous
    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

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.