add windows build
This commit is contained in:
parent
3ce7a84a04
commit
cfdd93abef
1 changed files with 8 additions and 0 deletions
|
@ -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"
|
dotnet publish --framework "%TFM%" --runtime "%RID%" --output "%STAGE1_DIR%" --configuration "%CONFIGURATION%" "%REPOROOT%\src\Microsoft.DotNet.Tools.Resgen"
|
||||||
if errorlevel 1 goto fail
|
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
|
REM deploy corehost.exe to the output
|
||||||
copy "%HOST_DIR%\corehost.exe" "%STAGE1_DIR%"
|
copy "%HOST_DIR%\corehost.exe" "%STAGE1_DIR%"
|
||||||
if errorlevel 1 goto fail
|
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"
|
dotnet publish --framework "%TFM%" --runtime "%RID%" --output "%STAGE2_DIR%" --configuration "%CONFIGURATION%" "%REPOROOT%\src\Microsoft.DotNet.Tools.Resgen"
|
||||||
if errorlevel 1 goto fail
|
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
|
REM deploy corehost.exe to the output
|
||||||
copy "%HOST_DIR%\corehost.exe" "%STAGE2_DIR%"
|
copy "%HOST_DIR%\corehost.exe" "%STAGE2_DIR%"
|
||||||
if errorlevel 1 goto fail
|
if errorlevel 1 goto fail
|
||||||
|
|
Loading…
Add table
Reference in a new issue