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] 6.0.100-rc.1.1528 is not found in NuGet feeds

See original GitHub issue

Description

Given I’m trying to install the workloads with the dotnet cli I’m getting an error message stating that the requested workloads are not available in the nuget feed:

Updated advertising manifest microsoft.net.sdk.macos.
Updated advertising manifest microsoft.net.workload.emscripten.
Updated advertising manifest microsoft.net.sdk.maui.
Updated advertising manifest microsoft.net.sdk.ios.
Updated advertising manifest microsoft.net.sdk.tvos.
Updated advertising manifest microsoft.net.sdk.maccatalyst.
Updated advertising manifest microsoft.net.sdk.android.
Updated advertising manifest microsoft.net.workload.mono.toolchain.
Downloading Microsoft.Maui.Core.Ref.android.Msi.x64 (6.0.100-rc.1.1528)
Downloading Microsoft.Maui.Core.Ref.android.Msi.x64 (6.0.100-rc.1.1528)
Workload installation failed. Rolling back installed packs...
Downloading microsoft.net.sdk.ios.manifest-6.0.100.msi.x64 (15.0.100-rc.1.1531)
Installation rollback failed: One or more errors occurred. (microsoft.net.sdk.ios.manifest-6.0.100.msi.x64::15.0.100-rc.1.1531 is not found in NuGet feeds https://api.nuget.org/v3/index.json;C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\".)
Workload installation failed: One or more errors occurred. (microsoft.maui.core.ref.android.msi.x64::6.0.100-rc.1.1528 is not found in NuGet feeds https://api.nuget.org/v3/index.json;C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\".)

or…

Workload installation failed: One or more errors occurred. (microsoft.maui.core.ref.ios.msi.x64::6.0.100-rc.1.1528 is not found in NuGet feeds https://api.nuget.org/v3/index.json;C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\".)

Steps to Reproduce (Windows10)

  1. install .net 6 rc-1 sdk
  2. install vs2022 preview with maui enabled
  3. execute dotnet install workload maui from the cmdline

Expected Behavior

CLI should resolve the latest available packages from nuget (1.1608 instead of 1.1528) https://www.nuget.org/packages/Microsoft.Maui.Core.Ref.android.Msi.x64/6.0.100-rc.1.1608

Actual Behavior

Highlighted error messages are returned

Workaround

None so far

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
drasticactionscommented, Oct 8, 2021

You don’t need to use those nuget feeds in order to get MAUI, those are intended if you want newer or daily builds. If you do want to use those feeds, you can install a daily .NET build which has the signing verification turned off by default.

You should be able to fix your issue by removing an installertype msi flag. This feature flag enables workloads to be installed via MSIs but those are missing from the feed. If you remove the flag, it will get the straight NuGet packages and those should be there.

  • Go to C:\Program Files\dotnet\metadata\workloads\6.0.100\installertype
  • You’ll see a blank file with msi, remove it.
  • Now rerun the dotnet workload command.

It should work now.

0reactions
rmarinhocommented, Nov 12, 2021

Hi @mmisztal1980 is this still a issue ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

microsoft.ios.sdk.msi.x64::15.0.100-rc.1.1531 is not found ...
Hello together, when I try to update to the RC1 I get the following errors. Are there some issues with the new Maui...
Read more >
Troubleshooting NuGet Package Restore in Visual Studio
This error occurs when you attempt to build a project that contains references to one or more NuGet packages, but those packages are...
Read more >
Cannot add or update NuGet packages, receiving ...
I have recently moved to VS 2019 and now I can not install or update packages through NuGet. I receive the following error...
Read more >
Fix Not available in this source | NuGet Visual Studio Error ...
Trying to Install/Reinstall NuGet packages, but getting a " Not available in this source" message or error ? Well, this video shows you...
Read more >
Troubleshooting NuGet Feed Issues - Telerik UI for Blazor
The most common reasons for issues with the private Telerik NuGet feed are related to: ... Missing or wrong local configuration ( NuGet.Config...
Read more >

github_iconTop Related Medium Post

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