Skip to content

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 <richard.murillo@microsoft.com>
Signed-off-by: Richard Murillo <richard.murillo@microsoft.com>
@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