Skip to content

Commit 62da34e

Browse files
tincanncodemzs
authored andcommitted
Remove references to ILAsmVersion.txt from build script (#266)
1 parent 5ff56ba commit 62da34e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

init-tools.cmd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ if NOT exist "%BUILD_TOOLS_PATH%init-tools.cmd" (
7373

7474
:afterbuildtoolsrestore
7575

76-
:: Ask init-tools to also restore ILAsm
77-
set /p ILASMCOMPILER_VERSION=< "%~dp0tools-local\ILAsmVersion.txt"
7876

7977
echo Initializing BuildTools...
8078
echo Running: "%BUILD_TOOLS_PATH%init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRUNTIME_DIR%" >> "%INIT_TOOLS_LOG%"

init-tools.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ if [ -z "$__BUILDTOOLS_SOURCE" ]; then __BUILDTOOLS_SOURCE=https://dotnet.myget.
1010
export __BUILDTOOLS_USE_CSPROJ=true
1111
__BUILD_TOOLS_PACKAGE_VERSION=$(cat "$__scriptpath/BuildToolsVersion.txt" | sed 's/\r$//') # remove CR if mounted repo on Windows drive
1212
__DOTNET_TOOLS_VERSION=$(cat "$__scriptpath/DotnetCLIVersion.txt" | sed 's/\r$//') # remove CR if mounted repo on Windows drive
13-
__ILASM_VERSION=$(cat "$__scriptpath/tools-local/ILAsmVersion.txt" | sed 's/\r$//') # remove CR if mounted repo on Windows drive
1413
__BUILD_TOOLS_PATH=$__PACKAGES_DIR/microsoft.dotnet.buildtools/$__BUILD_TOOLS_PACKAGE_VERSION/lib
1514
__INIT_TOOLS_RESTORE_PROJECT=$__scriptpath/init-tools.msbuild
1615
__BUILD_TOOLS_SEMAPHORE=$__TOOLRUNTIME_DIR/$__BUILD_TOOLS_PACKAGE_VERSION/init-tools.complete
@@ -154,7 +153,6 @@ fi
154153

155154
echo "Using RID $__ILASM_RID for BuildTools native tools"
156155

157-
export ILASMCOMPILER_VERSION=$__ILASM_VERSION
158156
export NATIVE_TOOLS_RID=$__ILASM_RID
159157

160158
echo "Initializing BuildTools..."

0 commit comments

Comments
 (0)