Skip to content

Conversation

@MattKotsenas
Copy link
Member

Fixes #69

Add new warning RPB0003 to enforce global.json and setting an SDK version. This prevents the SDK's automatic behavior of always using the latest installed SDK version, as this often runs afoul of other common practices of setting language and analyzer versions to "latest".

Currently, any SDK version and roll forward policy is acceptable. For a total reproducibility perspective, we should enforce roll forward disable, but currently the dev experience is not great. Once dotnetup is available we may want to suggest a more restrictive setting.

I'm considering this a "breaking change" and bumping the major version accordingly.

@MattKotsenas MattKotsenas requested a review from a team as a code owner December 17, 2025 01:11
@MattKotsenas MattKotsenas requested a review from baronfel January 21, 2026 22:52
@MattKotsenas MattKotsenas force-pushed the feature/enforce-global-json branch from 96d0986 to 9c28708 Compare January 21, 2026 22:58
@MattKotsenas MattKotsenas merged commit 50b6de9 into dotnet:main Jan 21, 2026
3 checks passed
@MattKotsenas MattKotsenas deleted the feature/enforce-global-json branch January 21, 2026 23:16
@MattKotsenas
Copy link
Member Author

For posterity, reviewed and signed off offline by @baronfel.

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.

Enforce using global.json in .Isolated package

2 participants