summaryrefslogtreecommitdiff
path: root/build.cmd
diff options
context:
space:
mode:
authorKyungwoo Lee <kyulee@microsoft.com>2016-05-23 15:33:23 -0700
committerKyungwoo Lee <kyulee@microsoft.com>2016-05-23 19:10:13 -0700
commit877352fc1e5498f31f552300f07010a7377b1e88 (patch)
treea81348ef2be41786735133e5777621ec46b653b3 /build.cmd
parenta2d24aa4e65c8de05c1d760c4be7e7537378f3ed (diff)
downloadcoreclr-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.cmd22
1 files changed, 22 insertions, 0 deletions
diff --git a/build.cmd b/build.cmd
index 70b8fc5d8d..c3cb4a03c3 100644
--- a/build.cmd
+++ b/build.cmd
@@ -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