Repository navigation
fix(mise): isolate .NET installations on Windows - #484
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
On Windows, Mise's shared .NET root can expose a newer SDK than the version selected by a project.
Selecting SDK 10.0.401 exposed SDK 10.0.403 from that shared root.
Changes
Enable
dotnet.isolatedfor Windows so each SDK installation has its own root.Regenerate the four Windows profile records in each native manifest family.
The changed records contain only the Mise configuration hash and the dependent setup-script hash.
Existing shared installations require a normal reinstall to adopt isolation.
Validation
Native Windows and macOS snapshot generation each matched 16 profile manifests and passed the setup-script input audit.
All 24 Mac, Linux, and WSL records remain unchanged.
The Windows render adds only
dotnet.isolated = true, passes Taplo, and the nine-file diff passesgit diff --check.After a normal reinstall, the selected SDK reports 10.0.401 from a real isolated directory, and its SDK inventory contains only 10.0.401.
The shared root retains all five existing SDKs, and the consuming project's source and Rust selection remain unchanged.
Normal commit hooks passed the issue-context, staged lint, document prose, comment prose, and commit-message checks.
The full Rust gate wasn't run locally.
Heavy verification campaigns weren't run.
Closes #482.
@coderabbitai ignore