Skip to content

Windows: dotnet workload restore: Workload update failed: Could not find a part of the path #48769

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AndyJoiner-T opened this issue Apr 29, 2025 · 0 comments
Labels
Area-Workloads untriaged Request triage from a team member

Comments

@AndyJoiner-T
Copy link

Describe the bug

Windows: I get error Workload update failed: Could not find a part of the path 'C:\Program Files\dotnet\sdk-manifests\9.0.100\workloadsets\9.0.103.0'. when workloadVersion is specified as “9.0.103.0” rather than “9.0.103” in my global.json. This is not an issue on Mac.

To Reproduce

On a Windows machine, clone repo https://github.com/AndyJoiner-T/repro-workload-update-failed-Could-not-find-a-part-of-the-path

on command line run: dotnet workload restore

Exceptions (if any)

Workload update failed: Could not find a part of the path 'C:\Program Files\dotnet\sdk-manifests\9.0.100\workloadsets\9.0.103.0'.

Further technical details

Output

dotnet workload restore

Installing workload version 9.0.103.0.
Installing microsoft.net.workloads.9.0.100.msi.x64 ........ Done
Workload installation failed. Rolling back installed packs...
Removing microsoft.net.workloads.9.0.100.msi.x64 ...... Done
Workload update failed: Could not find a part of the path 'C:\Program Files\dotnet\sdk-manifests\9.0.100\workloadsets\9.0.103.0'.

@dotnet-policy-service dotnet-policy-service bot added the untriaged Request triage from a team member label Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Workloads untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

1 participant