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.

Maui Check workload update failed

See original GitHub issue

Hey

I have updated the Maui Check to version: v0.8.6.0

but the maui check ends up with the following:

  _   _   _____   _____     __  __      _      _   _   ___                                                          
 | \ | | | ____| |_   _|   |  \/  |    / \    | | | | |_ _|                                                         
 |  \| | |  _|     | |     | |\/| |   / _ \   | | | |  | |                                                          

_ | |\ | | |___ | | | | | | / ___ \ | || | | |
(
) || _| |_____| || || || // _\ _/ ||

Ï .NET MAUI Check v0.8.6.0 Ï ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ This tool will attempt to evaluate your .NET MAUI development environment. If problems are detected, this tool may offer the option to try and fix them for you, or suggest a way to fix them yourself.

Thanks for choosing .NET MAUI! ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ¯ Synchronizing configuration… ok ¯ Scheduling appointments… ok

OpenJDK 11.0 Checkup…

  • 11.0.12 (C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin..)
  • 1.8.0-25 (C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25)
  • 17 (C:\Program Files\Common Files\Oracle\Java)

Visual Studio 17.0.0-pre.4.0 Checkup…

  • 17.0.0-pre.4.1 - C:\Program Files\Microsoft Visual Studio\2022\Preview
  • 16.11.3

Android SDK Checkup…

  • emulator (30.8.4)
  • build-tools;31.0.0 (31.0.0)
  • platforms;android-31 (1)
  • system-images;android-31;google_apis;x86_64 (8)
  • platform-tools (31.0.3)
  • cmdline-tools;3.0 (3.0)

Android Emulator Checkup…

  • Emulator: android_tv_1080p_pie_9_0_-_api_28 found.

.NET SDK Checkup…

  • 3.1.413 - C:\Program Files\dotnet\sdk\3.1.413
  • 5.0.100-preview.5.20279.10 - C:\Program Files\dotnet\sdk\5.0.100-preview.5.20279.10
  • 5.0.202 - C:\Program Files\dotnet\sdk\5.0.202
  • 5.0.207 - C:\Program Files\dotnet\sdk\5.0.207
  • 5.0.303 - C:\Program Files\dotnet\sdk\5.0.303
  • 5.0.401 - C:\Program Files\dotnet\sdk\5.0.401
  • 6.0.100-rc.1.21463.6 - C:\Program Files\dotnet\sdk\6.0.100-rc.1.21463.6

.NET SDK - Workload Deduplication Checkup…

Edge WebView2 Checkup…

  • Found Edge WebView2 version 93.0.961.52

.NET SDK - Workloads (6.0.100-rc.1.21458.32) Checkup…

  • android-aot (Microsoft.NET.Sdk.Android.Manifest-6.0.100 : 31.0.100-rc.1.12) installed.
  • ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.100 : 15.0.100-rc.1.1534) installed.
  • maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.100 : 15.0.100-rc.1.1534) installed. ž tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.100 : 15.0.100-rc.1.1534) not installed. ž macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.100 : 12.0.100-rc.1.1534) not installed.
  • maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.100 : 6.0.100-rc.1.1608) installed.
  • wasm-tools (microsoft.net.workload.mono.toolchain.manifest-6.0.100 : 6.0.0-rc.1.21451.13) installed.
  • microsoft-net-sdk-emscripten (microsoft.net.workload.emscripten.manifest-6.0.100 : 6.0.0-rc.1.21430.3) installed.

ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Ï Recommendation: Install or Update SDK Workloads ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

! Attempt to fix? [y/n] (y): y ¯ Attempting to fix: .NET SDK - Workloads (6.0.100-rc.1.21458.32) SHELL: C:\Program Files\dotnet\dotnet.exe workload update --no-cache --disable-parallel --from-rollback-file “C:\Users\hbaci\AppData\Local\Temp\maui-check-14367e0c\workload.json” --source “https://api.nuget.org/v3/index.json” --source “https://pkgs.dev.azure.com/dnceng/public/_packaging/6.0.100-rc.1.21458.32-shipping/nuget/v3/index.json

Updated advertising manifest microsoft.net.sdk.android. Updated advertising manifest microsoft.net.sdk.ios. Updated advertising manifest microsoft.net.sdk.maccatalyst. Updated advertising manifest microsoft.net.sdk.maui. Updated advertising manifest microsoft.net.workload.emscripten. Updated advertising manifest microsoft.net.workload.mono.toolchain. Workload update failed: Invalid rollback definition. The manifest IDs in rollback definition C:\Users\hbaci\AppData\Local\Temp\maui-check-14367e0c\workload.json do not match installed manifest IDs. Description: Hiermit aktualisieren Sie ein globales Workload.

Usage: dotnet [options] workload update

Options: –configfile <FILE> Die zu verwendende NuGet-Konfigurationsdatei. -s, --source <SOURCE> The NuGet package source to use during the restore. To specify multiple sources, repeat the option. –sdk-version <VERSION> Die Version des zu installierenden Toolpakets. –from-cache <from-cache> Complete the operation from cache (offline). –include-previews Allow prerelease workload manifests. –download-to-cache <download-to-cache> Download packages needed to install a workload to a folder that can be used for offline installation. –temp-dir <temp-dir> Specify a temporary directory for this command to download and extract NuGet packages (must be secure). –from-previous-sdk Include workloads installed with earlier SDK versions in update. –advertising-manifests-only Only update advertising manifests. –disable-parallel Hiermit wird die parallele Wiederherstellung mehrerer Projekte verhindert. –ignore-failed-sources Paketquellfehler als Warnungen behandeln. –no-cache Pakete und HTTP-Anforderungen nicht zwischenspeichern. –interactive Hiermit wird zugelassen, dass der Befehl anh„lt und auf eine Benutzereingabe oder Aktion wartet (beispielsweise auf den Abschluss der Authentifizierung). -v, --verbosity <LEVEL> Hiermit wird der Ausfhrlichkeitsgrad von MSBuild festgelegt. Zul„ssige Werte sind “q[uiet]”, “m[inimal]”, “n[ormal]”, “d[etailed]” und “diag[nostic]”. -?, -h, --help Hiermit wird die Hilfe zur Befehlszeile angezeigt.

Fix failed - Workload Update failed: dotnet workload update --no-cache --disable-parallel --from-rollback-file "C:\Users\hbaci\AppData\Local\Temp\maui-check-14367e0c\workload.json" --source "https://api.nuget.org/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/6.0.100-rc.1.21458.32-shipping/nuget/v3/index.json" ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

! There were one or more problems detected. Please review the errors and correct them and run maui-check again.

Press enter to exit…

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
KrishMishra007commented, Sep 29, 2021

I have uninstall previous version completely with delete folder .net in c drive and reinstall new version. it work perfect for me

0reactions
jsuarezruizcommented, Nov 12, 2021

If still have issues updating the workloads let me know to reopen the issue or open a new one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet workload install maui - fails · Issue #2037
I've experiencing same error, the solution run this command. dotnet workload install –sdk-version 6.0.100-preview.7.21379.14 –no-cache ...
Read more >
Workload Repair failed: `dotnet workload repair - MAUI
What worked for me is run dotnet workload install maui manually. Then rerun maui-check to fix the rest of the things.
Read more >
Troubleshoot known issues - .NET MAUI
The solution to this issue on Windows is to uninstall the .NET MAUI workloads through the CLI, uninstall any .NET SDKs in Control...
Read more >
Intermittent error - microsoft.net.workload.mono.toolchain ...
Net SDK version was updated from 6.0.302. Tried locking down this version but the 'dotnet workload install maui' command still downloads the latest...
Read more >
MAUI on Mac - Visual Studio 2022 17.4.2 : r/dotnetMAUI
I now have a MAUI proj that builds and runs (in emulator) on all environments. And I'm still unable to run the maui-check...
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