Disable .NET SDK rollForward in global.json - #236
Disable .NET SDK rollForward in global.json#236brettshearer with Copilot wants to merge 2 commits into
Conversation
Co-authored-by: brettshearer <9043790+brettshearer@users.noreply.github.com>
| { | ||
| "sdk": { | ||
| "version": "8.0.300", | ||
| "rollForward": "latestMinor" |
There was a problem hiding this comment.
WTG.Analyzers is built & tested in a GitHub workflow, not on DAT. So the set of installed SDKs is determined by configuration within this repository.
So this will only affect people trying to build locally.
There was a problem hiding this comment.
Note: this is a public repository.
There was a problem hiding this comment.
I think these days we can take out lines 26 and 27 from the GitHub Actions workflow, and actions/setup-dotnet will act based upon the root global.json by default.
There was a problem hiding this comment.
Also lines 53-54. Then release.yaml lines 28-29.
Should probably remove them just so we don't have so may places to update when updating the SDK.
There was a problem hiding this comment.
I'm happy to restrict to only those repositories based on QGL/DAT too.
The SDK was configured with
rollForward: latestMinor, allowing automatic upgrades to newer minor SDK versions. This change locks the SDK to the pinned version.Change
Original prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.