Skip to content

NU1608 Errors on CI: Detected package version outside of dependency constraint #4155

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

Merged
merged 5 commits into from
Apr 30, 2025

Conversation

jamescrosswell
Copy link
Collaborator

@jamescrosswell jamescrosswell commented Apr 30, 2025

Resolves #4154:

This PR pins the version of the workloads that will be installed by specifying a Workload Set in global.json.

The version number that goes in there was a bit mysterious to me at first. It comes from the various versions described in Microsoft.NET.Workloads.9.0.200. Alternatively you can get a list of valid options by running dotnet workload search version, which on my machine yields:

9.0.203.1
9.0.203
9.0.202
9.0.201
9.0.200

So we want to pin 9.0.203 basically.

#skip-changelog

@jamescrosswell jamescrosswell changed the title NU1608 Error: Detected package version outside of dependency constraint NU1608 Errors on CI: Detected package version outside of dependency constraint Apr 30, 2025
@jamescrosswell jamescrosswell marked this pull request as ready for review April 30, 2025 11:01
@jamescrosswell jamescrosswell merged commit 5df6c7b into main Apr 30, 2025
28 checks passed
@jamescrosswell jamescrosswell deleted the diamond-dependency branch April 30, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NU1608 Errors on CI: Detected package version outside of dependency constraint
2 participants