Skip to content

Pin .NET SDK to 8.0.x for C# CI#1365

Closed
spacebear21 wants to merge 1 commit intopayjoin:masterfrom
spacebear21:fix-c#-ci
Closed

Pin .NET SDK to 8.0.x for C# CI#1365
spacebear21 wants to merge 1 commit intopayjoin:masterfrom
spacebear21:fix-c#-ci

Conversation

@spacebear21
Copy link
Collaborator

Ubuntu runners now ship with .NET 10.0 pre-installed. Without a global.json, the dotnet CLI picks the highest SDK even though the workflow installs 8.0.x. SDK 10.0 can't produce a net8.0 apphost, failing the build with MSB3030.

Add global.json with rollForward: latestFeature so the CLI uses any 8.0.xxx but never rolls forward to 9.0+.

co-authored-by: Claude Opus 4.6

Pull Request Checklist

Please confirm the following before requesting review:

Ubuntu runners now ship with .NET 10.0 pre-installed. Without
a global.json, the dotnet CLI picks the highest SDK even though
the workflow installs 8.0.x. SDK 10.0 can't produce a net8.0
apphost, failing the build with MSB3030.

Add global.json with rollForward: latestFeature so the CLI uses
any 8.0.xxx but never rolls forward to 9.0+.
@spacebear21 spacebear21 marked this pull request as ready for review February 26, 2026 20:49
@spacebear21
Copy link
Collaborator Author

Superseded by #1364

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.

1 participant