From fa8383fb28be945cae900a5579afd5920f274fd4 Mon Sep 17 00:00:00 2001 From: Elinor Fung <47805090+elinor-fung@users.noreply.github.com> Date: Thu, 30 May 2019 14:58:09 -0700 Subject: Remove BuildTools from product build (#24841) * Remove BuildTools imports from product build * Split scripts for installing dotnet vs BuildTools --- init-dotnet.cmd | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 init-dotnet.cmd (limited to 'init-dotnet.cmd') diff --git a/init-dotnet.cmd b/init-dotnet.cmd new file mode 100644 index 0000000000..ad70b4c42a --- /dev/null +++ b/init-dotnet.cmd @@ -0,0 +1,13 @@ +@if not defined _echo @echo off +setlocal + +echo Installing dotnet using Arcade... +set PS_DOTNET_INSTALL_SCRIPT=". %~dp0eng\configure-toolset.ps1; . %~dp0eng\common\tools.ps1; InitializeBuildTool" +echo running: powershell -NoProfile -ExecutionPolicy unrestricted -Command %PS_DOTNET_INSTALL_SCRIPT% +powershell -NoProfile -ExecutionPolicy unrestricted -Command %PS_DOTNET_INSTALL_SCRIPT% +if NOT [%ERRORLEVEL%] == [0] ( + echo Failed to install dotnet using Arcade. + exit /b %ERRORLEVEL% +) + +exit /b 0 \ No newline at end of file -- cgit v1.2.3