Cannot install maui workload version 8.0.100

Thomas Hoefkens 20 Reputation points
2025-01-06T16:40:37.1+00:00

Hi everyone,

I am trying to install maui workload in version 8.0.100 - I have .NET SDK 8.0.401 installed.

When executing "dotnet workload install maui --version 8.0.100" I get an error saying that Version 8.0.100 of package microsoft.net.workloads.8.0.100 was not found in the standard nuget feed.

How can I explicitly install that version of the maui workload?

Thank you!

Thomas

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

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,281 Reputation points Microsoft Vendor
    2025-01-08T02:02:29.73+00:00

    Hello,

    Thanks for your feeback.

    Since Maui is a component of a dotnet workload, its content is controlled internally and is not directly exposed to developers. The idea is that you would always run the newest version of the workload.

    Therefore, in order to achieve more flexible version control, after .net 7, you could customize the required Maui version by changing the Nuget Package in the project file instead of rollbacking dotnet workload.

    You can refer to this merged PR to learn how to easily change the Maui version.

    Best Regards,

    Alec Liu.


    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 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 69,501 Reputation points
    2025-01-06T18:37:36.23+00:00

    at this point you should probably upgrade to .net 9. then install .net 9 maui workload. Maui 8 support ends in May.


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.