-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Remove downlevel runtimes from global.json #40393
Conversation
global.json
Outdated
@@ -6,14 +6,10 @@ | |||
"dotnet": "7.0.100-preview.2.22114.1", | |||
"runtimes": { | |||
"dotnet": [ | |||
"2.1.30", | |||
"$(MicrosoftNETCoreBrowserDebugHostTransportVersion)" | |||
], | |||
"dotnet/x86": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wtgodbe may want to move this section above "dotnet"
so eng/scripts/prepare-sourcebuild-globaljson.sh works as expected.
@MichaelSimons the alternative would be to stop using eng/scripts/prepare-sourcebuild-globaljson.sh. Will that work correctly now❔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks to me like we will still need eng/scripts/prepare-sourcebuild-globaljson.sh
because of the dotnet/x86
entry.
Instead rely on the implicit versions in the SDK, which stay up-to-date anyways (see https://github.com/dotnet/installer/blob/b6c29ddce6f3d0472e3449bb65fef6c08b9bd644/src/redist/targets/GenerateBundledVersions.targets#L27-L32). Allows for building on platforms that weren't supported on older runtimes, like Apple M1 Silicon (see #40109)