Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
[release/2.2] Add hack for arm64/x86 to skip build tools restore (#20390
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Jarret Shook authored and echesakov committed Oct 23, 2018
1 parent 9f562c8 commit aaa2372
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion init-tools.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ if NOT exist "%DOTNET_LOCAL_PATH%" (
:afterdotnetrestore

REM We do not need the build tools for arm64/x86
if /i "%_Arch%" == "x86" (
if /i "%PROCESSOR_ARCHITEW6432%" == "arm64" (
goto :EOF
)

if /i "%PROCESSOR_ARCHITECTURE%" == "arm64" (
goto :EOF
)

Expand Down

0 comments on commit aaa2372

Please sign in to comment.