Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit98c5bf1

Browse files
authored
Improve coreclr init for build (dotnet#5912)
1 parent8dc1140 commit98c5bf1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

‎init-tools.cmd‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ if exist "%BUILD_TOOLS_SEMAPHORE%" (
3838
goto :DONE
3939
)
4040

41-
ifexist"%TOOLRUNTIME_DIR%"rmdir /S /Q"%TOOLRUNTIME_DIR%"
42-
4341
:: Download Nuget.exe
4442
ifNOTexist"%PACKAGES_DIR%NuGet.exe" (
4543
ifNOTexist"%PACKAGES_DIR%"mkdir"%PACKAGES_DIR%"
@@ -63,6 +61,7 @@ if errorlevel 1 (
6361
setTOOLS_INIT_RETURN_CODE=1
6462
goto :DONE
6563
)
64+
echo"%DOTNET_TOOLS_VERSION% >>"%DOTNET_TOOLS_PATH%\sdk\%DOTNET_TOOLS_VERSION%"
6665
:afterdotnettoolsrestore
6766

6867
set /pDOTNET_VERSION=<"%~dp0DotnetCLIVersion.txt"

‎scripts/dotnet-install.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function GetHTTPResponse([Uri] $Uri)
188188
}
189189
# Default timeout for HttpClient is 100s. For a 50 MB download this assumes 500 KB/s average, any less will time out
190190
# 10 minutes allows it to work over much slower connections.
191-
$HttpClient.Timeout=New-TimeSpan-Minutes10
191+
$HttpClient.Timeout=New-TimeSpan-Minutes20
192192
$Response=$HttpClient.GetAsync($Uri).Result
193193
if (($Response-eq$null)-or (-not ($Response.IsSuccessStatusCode)))
194194
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp