Skip to content

With .NET 8 SDK installed, Warning "Workload garbage collection failed with error: Workload version 8.0.400-baseline.24372.6 was not found.." displayed when installing Maui workload in CLI. #42357

@v-Lily

Description

@v-Lily

Repro steps:

1.Installed .NET8.0.400 SDK from Pipelines - Run 20240723.2-8.0.400-rtm.24372.6,8.0.304-servicing.24372.2,8.0.108-servicing.24372.8-232548,232498,232515 artifacts.
2.In Mac OS CLI, execute: sudo dotnet workload install maui ios maccatalyst android macos tvos

Expected Result:

workload should be installed successfully, and no warnings should be displayed in the output.

Actual Result

Warning "Workload garbage collection failed with error: Workload version 8.0.400-baseline.24372.6 was not found.." displayed.
image

Further technical details

  • Include the output of dotnet --info
vstester@vstesters-Mac-mini-2 ~ % dotnet --info
.NET SDK:
Version:           8.0.400
Commit:            6f7e622bb6
Workload version:  8.0.400-manifests.39d75d02
MSBuild version:   17.11.3+0c8610977

Runtime Environment:
OS Name:     Mac OS X
OS Version:  14.5
OS Platform: Darwin
RID:         osx-x64
Base Path:   /usr/local/share/dotnet/sdk/8.0.400/

.NET workloads installed:
Configured to use loose manifests when installing new manifests.
[macos]
   Installation Source: SDK 8.0.400
   Manifest Version:    14.5.8013/8.0.100
   Manifest Path:       /usr/local/share/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.macos/14.5.8013/WorkloadManifest.json
   Install Type:        FileBased

[ios]
   Installation Source: SDK 8.0.400
   Manifest Version:    17.5.8013/8.0.100
   Manifest Path:       /usr/local/share/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.ios/17.5.8013/WorkloadManifest.json
   Install Type:        FileBased

[maccatalyst]
   Installation Source: SDK 8.0.400
   Manifest Version:    17.5.8013/8.0.100
   Manifest Path:       /usr/local/share/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.maccatalyst/17.5.8013/WorkloadManifest.json
   Install Type:        FileBased

[maui]
   Installation Source: SDK 8.0.400
   Manifest Version:    8.0.70/8.0.100
   Manifest Path:       /usr/local/share/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.maui/8.0.70/WorkloadManifest.json
   Install Type:        FileBased

[tvos]
   Installation Source: SDK 8.0.400
   Manifest Version:    17.5.8013/8.0.100
   Manifest Path:       /usr/local/share/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.tvos/17.5.8013/WorkloadManifest.json
   Install Type:        FileBased

[android]
   Installation Source: SDK 8.0.400
   Manifest Version:    34.0.127/8.0.100
   Manifest Path:       /usr/local/share/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.android/34.0.127/WorkloadManifest.json
   Install Type:        FileBased

Host:
  Version:      8.0.8
  Architecture: x64
  Commit:       08338fcaa5

.NET SDKs installed:
  8.0.400 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 8.0.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 8.0.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  • Nuget.config file:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
 <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
 <add key="dotnet8" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" /> 
 <add key="dotnet7" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" />      
 <add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
 <add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
 <add key="dotnet8-internal" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/8.0.400-rtm.24372.6-shipping/nuget/v3/index.json" />
</packageSources>
<packageSourceCredentials>
   <dotnet8-internal>
       <add key="Username" value="[email protected]" />
       <add key="CleartextPassword" value="" />
   </dotnet8-internal>
</packageSourceCredentials>
</configuration>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions