Skip to content

Updating the build scripts to support TLS 1.2 and paths with spaces in the name - #2000

Merged
tannergooding merged 1 commit into
dotnet:release/2.0.0from
tannergooding:release/2.0.0
Feb 27, 2018
Merged

tannergooding merged 1 commit into
dotnet:release/2.0.0from
tannergooding:release/2.0.0

Conversation

@tannergooding

Copy link
Copy Markdown
Member

FYI. @livarcocc, @dotnet/dotnet-cli

Comment thread build/build.ps1

Set-StrictMode -Version 2.0
$ErrorActionPreference = "Stop"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix I saw in C# was to | Tls12 on to the defaults. Should we do that here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied this line verbatim from @jaredpar's fix.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can OR it.

@tannergooding
tannergooding merged commit 3c7c37f into dotnet:release/2.0.0 Feb 27, 2018
JL03-Yue pushed a commit that referenced this pull request Mar 19, 2024
ProcessRunner: do not call WaitForExit until redirection has started
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.

4 participants