diff --git a/scripts/bootstrap.cmd b/scripts/bootstrap.cmd index 9a777202f..68ba3c8d1 100644 --- a/scripts/bootstrap.cmd +++ b/scripts/bootstrap.cmd @@ -70,6 +70,10 @@ echo Building stage1 dotnet-publish.exe ... dotnet publish --framework "%TFM%" --runtime "%RID%" --output "%STAGE1_DIR%" --configuration "%CONFIGURATION%" "%REPOROOT%\src\Microsoft.DotNet.Tools.Resgen" if errorlevel 1 goto fail +echo Building stage1 dotnet-run.exe ... +dotnet publish --framework "%TFM%" --runtime "%RID%" --output "%STAGE1_DIR%" --configuration "%CONFIGURATION%" "%REPOROOT%\src\Microsoft.DotNet.Tools.Run" +if errorlevel 1 goto fail + REM deploy corehost.exe to the output copy "%HOST_DIR%\corehost.exe" "%STAGE1_DIR%" if errorlevel 1 goto fail @@ -103,6 +107,10 @@ echo Building stage2 dotnet-publish.exe ... dotnet publish --framework "%TFM%" --runtime "%RID%" --output "%STAGE2_DIR%" --configuration "%CONFIGURATION%" "%REPOROOT%\src\Microsoft.DotNet.Tools.Resgen" if errorlevel 1 goto fail +echo Building stage2 dotnet-run.exe ... +dotnet publish --framework "%TFM%" --runtime "%RID%" --output "%STAGE2_DIR%" --configuration "%CONFIGURATION%" "%REPOROOT%\src\Microsoft.DotNet.Tools.Run" +if errorlevel 1 goto fail + REM deploy corehost.exe to the output copy "%HOST_DIR%\corehost.exe" "%STAGE2_DIR%" if errorlevel 1 goto fail