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.

Workload installation failing

See original GitHub issue

Trying to install a workload and getting an exception

Running: dotnet workload install microsoft-net-sdk-blazorwebassembly-aot

Failed to update the advertising manifest microsoft.net.workload.android: microsoft.net.workload.android.manifest-6.0.100 is not found in NuGet feeds https://api.nuget.org/v3/index.json, C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\, D:\source\repos\DumbNugetLib\DumbNugetLib\bin\Debug",.
Failed to update the advertising manifest microsoft.net.workload.blazorwebassembly: microsoft.net.workload.blazorwebassembly.manifest-6.0.100 is not found in NuGet feeds https://api.nuget.org/v3/index.json, C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\, D:\source\repos\DumbNugetLib\DumbNugetLib\bin\Debug",.
Failed to update the advertising manifest microsoft.net.workload.ios: microsoft.net.workload.ios.manifest-6.0.100 is not found in NuGet feeds https://api.nuget.org/v3/index.json, C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\, D:\source\repos\DumbNugetLib\DumbNugetLib\bin\Debug",.
Failed to update the advertising manifest microsoft.net.workload.maccatalyst: microsoft.net.workload.maccatalyst.manifest-6.0.100 is not found in NuGet feeds https://api.nuget.org/v3/index.json, C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\, D:\source\repos\DumbNugetLib\DumbNugetLib\bin\Debug",.
Failed to update the advertising manifest microsoft.net.workload.macos: microsoft.net.workload.macos.manifest-6.0.100 is not found in NuGet feeds https://api.nuget.org/v3/index.json, C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\, D:\source\repos\DumbNugetLib\DumbNugetLib\bin\Debug",.
Failed to update the advertising manifest microsoft.net.workload.tvos: microsoft.net.workload.tvos.manifest-6.0.100 is not found in NuGet feeds https://api.nuget.org/v3/index.json, C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\, D:\source\repos\DumbNugetLib\DumbNugetLib\bin\Debug",.
Installing pack Microsoft.NET.Runtime.MonoAOTCompiler.Task version 6.0.0-preview.4.21253.7...
Workload installation failed, rolling back installed packs...
Rolling back pack Microsoft.NET.Runtime.MonoAOTCompiler.Task installation...

dotnet-info:

.NET SDK (reflecting any global.json):
 Version:   6.0.100-preview.5.21302.13
 Commit:    d6380bcae7

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19043
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\6.0.100-preview.5.21302.13\

Host (useful for support):
  Version: 6.0.0-preview.5.21301.5
  Commit:  ec3e0b276b

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
rajeshaz09commented, Jun 18, 2021

Delete C:\Program Files\dotnet\metadata\workloads folder and install once again.

1reaction
timheuercommented, Jun 21, 2021

@sfoslund yes this was entire output – I worked through this with @dsplaisted and we were able to get past this (manually deleting folders)

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet workload install maui - fails · Issue #2037
Workload installation failed: Inconsistency in workload manifest 'microsoft.net.workload.mono.toolchain': missing dependency 'Microsoft.NET.
Read more >
VS MAC: Workload installation failed: One or more errors ...
I am trying to build a MAUI app on Mac OS using Visual Studio and I got an error that says to run...
Read more >
Failed to pair to Mac with error "Could not install workload ...
In the next window, enter the username and password for the user account on the macOS machine. Connect the machine. ACTUAL: Pair to...
Read more >
Control-M Workload Automation installation fails with error
1. Login to the Control-M Machine · 2. Check on the if there is any "setup.exe" running using Task Manager or command utility...
Read more >
microsoft.net.workload.mono.toolchain error when running ' ...
Sample Error: Workload installation failed: Workload manifest dependency 'Microsoft.NET.Workload.Emscripten' version '6.0.4' is lower than ...
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