Skip to content
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

Add flag to set the .NET version #285

Open
dansiegel opened this issue Aug 20, 2024 · 0 comments
Open

Add flag to set the .NET version #285

dansiegel opened this issue Aug 20, 2024 · 0 comments

Comments

@dansiegel
Copy link
Contributor

In CI when using a cloud hosted agent, the agent may be updated to a newer version of .NET than what Uno.Check is installing the workloads to. This results in builds that may fail without warning even though uno-check completes successfully.

It would be useful to have a flag that could be set so that in CI uno-check can search recursively for any global.json files and update them so that the version of the .NET SDK is set forcing the build to use the version of .NET that uno-check is configuring the workloads for. This also will ensure reproducible CI builds without requiring that a specific version be set in the repository making it easier for people to clone repos locally.

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

No branches or pull requests

1 participant