diff options
author | Kyungwoo Lee <kyulee@microsoft.com> | 2016-05-23 15:33:23 -0700 |
---|---|---|
committer | Kyungwoo Lee <kyulee@microsoft.com> | 2016-05-23 19:10:13 -0700 |
commit | 877352fc1e5498f31f552300f07010a7377b1e88 (patch) | |
tree | a81348ef2be41786735133e5777621ec46b653b3 /build.cmd | |
parent | a2d24aa4e65c8de05c1d760c4be7e7537378f3ed (diff) | |
download | coreclr-877352fc1e5498f31f552300f07010a7377b1e88.tar.gz coreclr-877352fc1e5498f31f552300f07010a7377b1e88.tar.bz2 coreclr-877352fc1e5498f31f552300f07010a7377b1e88.zip |
ILAsm/ILDAsm Package
Fixes #5172
This has dependency on CoreCLR.
Use the same version 1.0.3 as CoreCLR.
Tested both packages are produced in Windows/Linux locally.
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -515,6 +515,28 @@ if not defined __SkipNativeBuild ( ) ) +rem Build the ILAsm package +set __msbuildArgs="%__ProjectFilesDir%\src\.nuget\Microsoft.NETCore.ILAsm\Microsoft.NETCore.ILAsm.builds" /p:Platform=%__BuildArch% +%_msbuildexe% %__msbuildArgs% %__msbuildLogArgs% +if errorlevel 1 ( + echo %__MsgPrefix%Error: ILAsm Nuget package generation failed build failed. Refer to the build log files for details: + echo %__BuildLog% + echo %__BuildWrn% + echo %__BuildErr% + exit /b 1 +) + +rem Build the ILDAsm package +set __msbuildArgs="%__ProjectFilesDir%\src\.nuget\Microsoft.NETCore.ILDAsm\Microsoft.NETCore.ILDAsm.builds" /p:Platform=%__BuildArch% +%_msbuildexe% %__msbuildArgs% %__msbuildLogArgs% +if errorlevel 1 ( + echo %__MsgPrefix%Error: ILDAsm Nuget package generation failed build failed. Refer to the build log files for details: + echo %__BuildLog% + echo %__BuildWrn% + echo %__BuildErr% + exit /b 1 +) + :SkipNuget REM endlocal to rid us of environment changes from vsdevenv.bat |