You are not logged in.

#1 2025-06-29 17:48:39

Sidekick
Member
Registered: 2024-06-23
Posts: 54

[Solved] dotnet workload commands all throw the same error since la...

The dotnet package and the related packages got updated yesterday, since then I'm unable to load solutions in my IDE. I'm also unable to run any

dotnet workload

commands. In all of the described cases I'm receiving one of two  exceptions:

Error while repairing workload: Das Workloadmanifest microsoft.net.workload.emscripten.current: 9.0.4/9.0.100 from workload version 9.0.105 was not installed. Running "dotnet workload repair" may resolve this.

or

Unhandled exception: System.IO.FileNotFoundException: The workload manifest microsoft.net.workload.emscripten.current: 9.0.4/9.0.100 from workload version 9.0.105 was not installed. Running "dotnet workload repair" may resolve this.
   at Microsoft.NET.Sdk.WorkloadManifestReader.SdkDirectoryWorkloadManifestProvider.GetManifests()
   at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.LoadManifestsFromProvider(IWorkloadManifestProvider manifestProvider)
   at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.InitializeManifests()
   at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.GetInstalledManifests()
   at Microsoft.DotNet.Workloads.Workload.List.WorkloadListCommand.Execute()
   at System.CommandLine.Invocation.InvocationPipeline.Invoke(ParseResult parseResult)
   at System.CommandLine.ParseResult.Invoke()
   at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)

Ironically running "dotnet workload repair" just prints the first message.

*edit*

Downgrading to 9.0.4 resolves these issues.

Last edited by Sidekick (2025-07-03 22:27:22)

Offline

#2 2025-07-03 22:26:46

Sidekick
Member
Registered: 2024-06-23
Posts: 54

Re: [Solved] dotnet workload commands all throw the same error since la...

Solved it. After the downgrade I was able to update the workloads with the dotnet workload command. After that I installed the update again and it works now.

Offline

Board footer

Powered by FluxBB