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.

dotnet workload install maui - fails

See original GitHub issue

Description

I have installed VS 2022 preview and I am following these steps - https://docs.microsoft.com/en-us/dotnet/maui/get-started/installation.

  • the latest Visual Studio 2022 Preview - with the correct workloads installed
  • Single-project MSIX Packaging Tools installed
  • dotnet workload install maui
  • dotnet tool install -g redth.net.maui.check
  • maui-check

Is this doumentation correct or am I missing something?

Steps to Reproduce

  1. Entered dotnet workload install maui

Actual Behavior

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.macos. Updated advertising manifest microsoft.net.sdk.maui. Updated advertising manifest microsoft.net.sdk.tvos. Updated advertising manifest microsoft.net.workload.mono.toolchain. Installing workload manifest microsoft.net.sdk.android version 30.0.100-preview.7.110. Installing workload manifest microsoft.net.sdk.ios version 15.0.100-preview.7.230. Installing workload manifest microsoft.net.sdk.maccatalyst version 15.0.100-preview.7.230. Installing workload manifest microsoft.net.sdk.macos version 12.0.100-preview.7.230. Installing workload manifest microsoft.net.sdk.maui version 6.0.100-preview.7.1345. Installing workload manifest microsoft.net.sdk.tvos version 15.0.100-preview.7.230. Installing workload manifest microsoft.net.workload.mono.toolchain version 6.0.0-preview.7.21377.19. Workload installation failed, rolling back installed packs… Installing workload manifest microsoft.net.sdk.android version 30.0.100-preview.6.53. Installation roll back failed: Failed to install manifest microsoft.net.sdk.android version 30.0.100-preview.6.53: microsoft.net.sdk.android.manifest-6.0.100::30.0.100-preview.6.53 is not found in NuGet feeds https://api.nuget.org/v3/index.json;C:\Program Files (x86)\Microsoft SDKs\NuGetPackages"… Workload installation failed: Inconsistency in workload manifest ‘microsoft.net.workload.mono.toolchain’: missing dependency ‘Microsoft.NET.Workload.Emscripten’

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:22 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
rgunawanscommented, Aug 11, 2021

seems you’re using .net 6 preview 6 C:\Program Files\dotnet\sdk\6.0.100-preview.6.21355.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.props(14,3) try download .net 6 preview 7 at https://dotnet.microsoft.com/download/dotnet/6.0

0reactions
mattleibowcommented, Sep 21, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

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
Run dotnet workload uninstall maui if you ever used the dotnet workload install commands. · Uninstall any standalone .NET SDK installers from ...
Read more >
Issues with building a MAUI Blazor app : RIDER-90326
Installing the workloads doing the dotnet wokrlolad install MAUI it then goes through that process. Unfortunately it still doesn't seem to want ...
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 >
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