sdk: Workload installation failed: microsoft.android.sdk.windows::34.0.64 is not found in NuGet feeds https://api.nuget.org/v3/index.json"
Description
Can’t build any MAUI apps anymore. On latest VS2022 Preview.
C:\code\repos\app>dotnet workload restore --source https://api.nuget.org/v3/index.json
Installing workloads: android ios maccatalyst
Installing pack Microsoft.Android.Sdk.Windows version 34.0.64...
Workload installation failed. Rolling back installed packs...
Rolling back pack Microsoft.Android.Sdk.Windows installation...
Workload installation failed: microsoft.android.sdk.windows::34.0.64 is not found in NuGet feeds https://api.nuget.org/v3/index.json".
.NET SDK:
Version: 8.0.100
Commit: 57efcf1350
Workload version: 8.0.100-manifests.667597c3
Runtime Environment:
OS Name: Windows
OS Version: 10.0.22621
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\8.0.100\
.NET workloads installed:
Workload version: 8.0.100-manifests.667597c3
[aspire]
Installation Source: VS 17.9.34407.89
Manifest Version: 8.0.0-preview.3.23607.3/8.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.aspire\8.0.0-preview.3.23607.3\WorkloadManifest.json
Install Type: FileBased
[maui-windows]
Installation Source: VS 17.9.34407.89
Manifest Version: 8.0.3/8.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.maui\8.0.3\WorkloadManifest.json
Install Type: FileBased
[android]
Installation Source: VS 17.9.34407.89
Manifest Version: 34.0.64/8.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.android\34.0.64\WorkloadManifest.json
Install Type: FileBased
[maccatalyst]
Installation Source: VS 17.9.34407.89
Manifest Version: 17.0.8497/8.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.maccatalyst\17.0.8497\WorkloadManifest.json
Install Type: FileBased
[ios]
Installation Source: VS 17.9.34407.89
Manifest Version: 17.0.8497/8.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.ios\17.0.8497\WorkloadManifest.json
Install Type: FileBased
Host:
Version: 8.0.0
Architecture: x64
Commit: 5535e31a71
.NET SDKs installed:
8.0.100 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.25 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.14 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.25 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.14 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.14 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.25 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.14 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 1
- Comments: 15
its also missing for the latest version of the workload in visual studio 17.13.3
Workload installation failed: One or more errors occurred. (Version 35.0.50 of package microsoft.android.sdk.windows.msi.x64 is not found in NuGet feeds https://api.nuget.org/v3/index.json.)
its not listed at all on nuget and has just made me unable to work without reverting my vs.
@philliphoff I feel this issue should have been resolved a very long time ago. As said before, David Fowler even stated this is a known issue regarding the order that packages are built and the pushed to NuGet resulting in packages not being available when needed after manifests containing them have already been updated. Issues regarding this remain untriaged and in my opinion unresolved as the root cause still remains.
Is there any intention to fix the root cause(s) leading to this reoccurring issue?
@aherrick For this issue, no, though it’s been pushed down the stack in favor of other tasks so I haven’t circled back in a while.