-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Set TargetLatestRuntimePatch to false to prevent automatic framework version increases #13483
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds NuGet package lock files for the wslsettings target to prevent automatic version increases that could cause build breaks. The change implements package locking by enabling NuGet package restoration with lock files and creates platform-specific lock files to pin dependency versions.
- Enables NuGet package lock file restoration in the build system
- Creates platform-specific package lock files (x64, arm64, and generic) for wslsettings
- Locks all NuGet package dependencies to specific versions to prevent automatic updates
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Directory.Build.Props | Enables NuGet lock file restoration and sets platform-specific lock file paths |
| packages.lock.json | Generic package lock file with all dependency versions pinned |
| packages.lock.arm64.json | ARM64-specific package lock file |
| packages.lock.x64.json | x64-specific package lock file with additional runtime dependencies |
Summary of the Pull Request
This should prevent future build breaks when nuget packages are updated
PR Checklist
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed