Skip to content

Conversation

@adamperlin
Copy link
Contributor

scripts/dotnet.py install will fail on slightly older windows hosts due to the TLS defaulting to an older version. This PR changes the install command to set the version to what is required to execute dotnet-install.ps1 (reference here: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script). Without this fix there does not seem to be an easy workaround to use dotnet.py install on systems without TLS1.2 set as default.

@EgorBo
Copy link
Member

EgorBo commented Jan 28, 2026

@LoopedBard3 @DrewScoggins could you please approve? Without this it fails to acquire the SDK on our Windows CI machines.

@LoopedBard3 LoopedBard3 merged commit 95ea3cb into dotnet:main Jan 29, 2026
35 of 38 checks passed
EgorBo added a commit to dotnet/runtime that referenced this pull request Jan 29, 2026
…123723)

Requires a patched version of dotnet/performance to set the TLS version
in powershell on windows.
dotnet/performance PR here:
dotnet/performance#5088

---------

Co-authored-by: Egor Bogatov <egorbo@gmail.com>
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.

3 participants