maui: [Bug] Workload ID maui is not recognized - Unable to find even a single workload

Description

I am not able to find or install a single Workload after completely wiping every single trace of Visual Studio 2022 from my system and reinstalling VS 2022 with the maui checkbox checked

Steps to Reproduce

  1. Setup a new Machine (Hyper-V VM for example)
  2. Install VS 2022
  3. run “dotnet workload install maui” or “dotnet workload search maui”

Expected Behavior

Installs maui workload

Actual Behavior

Workload ID maui is not recognized. as well as just an empty list

Basic Information

  • Version with issue: 6.0.100-rc.2.21505.57
  • Last known good version: none
  • IDE: VS 2022
  • Affected Devices: Windows 10 PC

Screenshots

image

Freshly installed everything image

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 19 (7 by maintainers)

Most upvoted comments

The version you indicated is not the correct version.

Unfortunately, for Preview 14 of MAUI you need Visual Studio 17.2 Preview 2.1 installed and to not install any workloads via the command line.

Visual studio installator still does not install workloads. I’m facing the same issue that NabodevMats showed VS 17.3.0 Preview 1.1. Clear installation. I have no other Visual Studio versions on my machine at all.

The only reason why people run command line is to fix the problem caused by the Visual Studio Installer that doesn’t work properly

What do you mean, verified not repro? It still doesn’t work for many

Turns out that for some reason dotnet installation was missing sdk-manifests. I have copied them manually (to C:\Program Files\dotnet\sdk-manifests\6.0.200) from another installation, and it’s all fine now. sdk-manifests.zip

Same issues trying to get maui working on macos. Followed all steps on https://dev.to/davidortinau/installing-net-maui-on-macos-4mmc but cant install maui workload.

mats$ sudo dotnet workload install maui --source https://api.nuget.org/v3/index.json
Password: ***********
Workload ID maui is not recognized.

Tried maui-check as well but stuck on

🔎 .NET SDK - Workloads (6.0.200) Checkup...
  ❌ android-aot (Microsoft.NET.Sdk.Android.Manifest-6.0.200 : 31.0.200-preview.12.2) not installed.
  ❌ ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.200 : 15.2.200-preview.12.4) not installed.
  ❌ maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.200 : 15.2.200-preview.12.4) not installed.
  ❌ tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.200 : 15.2.200-preview.12.4) not installed.
  ❌ macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.200 : 12.1.200-preview.12.4) not installed.
  ❌ maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.200 : 6.0.200-preview.12.2441) not installed.

Any idea’s?

did u got the fix for that? I’m stuck in the same situation after running maui-check and how to install the rest of workloads

Same issues trying to get maui working on macos. Followed all steps on https://dev.to/davidortinau/installing-net-maui-on-macos-4mmc but cant install maui workload.

mats$ sudo dotnet workload install maui --source https://api.nuget.org/v3/index.json
Password: ***********
Workload ID maui is not recognized.

Tried maui-check as well but stuck on

🔎 .NET SDK - Workloads (6.0.200) Checkup...
  ❌ android-aot (Microsoft.NET.Sdk.Android.Manifest-6.0.200 : 31.0.200-preview.12.2) not installed.
  ❌ ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.200 : 15.2.200-preview.12.4) not installed.
  ❌ maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.200 : 15.2.200-preview.12.4) not installed.
  ❌ tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.200 : 15.2.200-preview.12.4) not installed.
  ❌ macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.200 : 12.1.200-preview.12.4) not installed.
  ❌ maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.200 : 6.0.200-preview.12.2441) not installed.

Any idea’s?

Hello @Redth

I’m sorry, but did you read my "Steps to reproduce '? I’ve set up a brand new VM, installed VS2022 and it didn’t work.

Please don’t just close the issue, there are plenty of people still having problems with this…