summaryrefslogtreecommitdiff
path: root/init-tools.cmd
diff options
context:
space:
mode:
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>2017-11-22 16:38:19 +0100
committerGitHub <noreply@github.com>2017-11-22 16:38:19 +0100
commit776690aad2bf8f5ecf69ea7b26c66bcd17489637 (patch)
treef92779c4a95fc481b8959258873208e112580e17 /init-tools.cmd
parent3d09d01424a1c5b61bc84016834d40263b1a67e0 (diff)
downloadcoreclr-776690aad2bf8f5ecf69ea7b26c66bcd17489637.tar.gz
coreclr-776690aad2bf8f5ecf69ea7b26c66bcd17489637.tar.bz2
coreclr-776690aad2bf8f5ecf69ea7b26c66bcd17489637.zip
Ask buildtools to also restore ILAsm (#15103)
We should start with having this restored before we start using it to make sure that nobody has tools downloaded/initialized without ILAsm.
Diffstat (limited to 'init-tools.cmd')
-rw-r--r--init-tools.cmd5
1 files changed, 4 insertions, 1 deletions
diff --git a/init-tools.cmd b/init-tools.cmd
index f658d4e48a..7e77566199 100644
--- a/init-tools.cmd
+++ b/init-tools.cmd
@@ -71,6 +71,9 @@ if NOT exist "%BUILD_TOOLS_PATH%init-tools.cmd" (
:afterbuildtoolsrestore
+:: Ask init-tools to also restore ILAsm
+set /p ILASMCOMPILER_VERSION=< "%~dp0ILAsmVersion.txt"
+
echo %__MsgPrefix%Initializing BuildTools...
echo %__MsgPrefix%Running: "%BUILD_TOOLS_PATH%init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRUNTIME_DIR%" >> "%INIT_TOOLS_LOG%"
call "%BUILD_TOOLS_PATH%init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRUNTIME_DIR%" >> "%INIT_TOOLS_LOG%"
@@ -91,4 +94,4 @@ exit /b 0
:error
echo %__MsgPrefix%Please check the detailed log that follows. 1>&2
type "%INIT_TOOLS_LOG%" 1>&2
-exit /b 1 \ No newline at end of file
+exit /b 1