Skip to content
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

Add global.json to specify SDK version and ensure consistent builds #211

Closed
wants to merge 2 commits into from

Conversation

rjmurillo
Copy link
Member

@rjmurillo rjmurillo commented Nov 10, 2023

To maintain consistency across all development and build environments, a global.json file is added to the repository. This file specifies the exact .NET SDK version to be used, which helps to avoid discrepancies that can arise from developers using different versions of the SDK. This ensures that all builds, whether on local machines or build servers, use the same version of the SDK, reducing the "it works on my machine" or "it doesn't work on my machine" syndrome. It also aids in smoother transitions between SDK versions by providing explicit control over the upgrade process in a coordinated manner across all environments.

Fixes #212

@yangpanMS
Copy link
Contributor

Added global json as part of #214

@rjmurillo rjmurillo marked this pull request as draft November 16, 2023 17:45
To maintain consistency across all development and build environments, a global.json file is added to the repository. This file specifies the exact .NET SDK version to be used, which helps to avoid discrepancies that can arise from developers using different versions of the SDK. This ensures that all builds, whether on local machines or build servers, use the same version of the SDK, reducing the "it works on my machine" or "it doesn't work on my machine" syndrome. It also aids in smoother transitions between SDK versions by providing explicit control over the upgrade process in a coordinated manner across all environments.

Signed-off-by: Richard Murillo <[email protected]>
Signed-off-by: Richard Murillo <[email protected]>
@rjmurillo
Copy link
Member Author

Closing this PR since the file is added in #214 and updates to .NET 8

@rjmurillo rjmurillo closed this Nov 16, 2023
@rjmurillo rjmurillo deleted the global_json branch November 16, 2023 17:57
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.

Build inconsistent with different .NET SDK versions installed (example: .NET 8 RC2)
2 participants