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

Add hack for arm64/x86 to skip build tools restore #20390

Merged
merged 3 commits into from
Oct 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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