question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
AlexeyStarkovcommented, May 25, 2022

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

5reactions
CalaxDevcommented, Mar 2, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot known issues - .NET MAUI
NET MAUI through the Visual Studio installer, Visual Studio can enter a state where it can't locate the .NET MAUI workloads.
Read more >
Workload Repair failed: `dotnet workload repair - MAUI
After reinstalling workload, project build properly, but faced below error on android deploying. System.IO.DirectoryNotFoundException: Could not ...
Read more >
Failed to pair to Mac with error "Could not install workload ...
On the Windows machine, create a new Blazor Hybrid project on the command line using the following: dotnet new maui-blazor -o iOSWindowsProject ...
Read more >
Add MAUI support in Rider : RIDER-62127 - YouTrack
We are working on it. You will be able to try to build/run/debug MAUI project in the very first EAP on Rider 2022.2....
Read more >
Does .NET MAUI actually work with iOS?? : r/dotnetMAUI
I'm having a *lot* of probs trying to get a plain-vanilla .NET MAUI app to run, from Visual Studio Mac (VSM) on iOS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found