Skip to content

Conversation

@mjcheetham
Copy link
Contributor

Add a global.json file to the project to make it clearer that we should be using at least version 8.x of the .NET SDK. This can help when building locally without a valid .NET Runtime version installed, to make it clear what the issue is.

We set the roll-forward policy to latestMajor meaning we will look for any SDK major version from the set version forward. In this case, since we set 8.0, this will match 8.x, 9.x, 10.x etc.

When we move to a newer runtime target (probably net10.0) we'll want to bump this minimum SDK version to 10.0.

Add a global.json file to the project to make it clearer that we should
be using _at least_ version 8.x of the .NET SDK. This can help when
building locally without a valid .NET Runtime version installed, to make
it clear what the issue is.

We set the roll-forward policy to `latestMajor` meaning we will look for
any SDK major version from the set version forward. In this case, since
we set 8.0, this will match 8.x, 9.x, 10.x etc.

When we move to a newer runtime target (probably `net10.0`) we'll want
to bump this minimum SDK version to 10.0.

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
@mjcheetham mjcheetham requested a review from xfabo1 November 6, 2025 08:37
@mjcheetham mjcheetham requested a review from a team as a code owner November 6, 2025 08:37
@mjcheetham mjcheetham added the engineering Refactoring or build changes label Nov 6, 2025
@mjcheetham mjcheetham merged commit b9fdc89 into git-ecosystem:main Nov 6, 2025
8 checks passed
@mjcheetham mjcheetham deleted the globaljson branch November 6, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engineering Refactoring or build changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants