-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMasterBuild.bat
More file actions
15 lines (10 loc) · 1.01 KB
/
MasterBuild.bat
File metadata and controls
15 lines (10 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@ECHO OFF
CLS
IF EXIST "%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current" SET "MSBUILD=%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\bin\MSBuild.exe"
IF EXIST "%ProgramFiles%\Microsoft Visual Studio\2022\Professional\MSBuild\Current" SET "MSBUILD=%ProgramFiles%\Microsoft Visual Studio\2022\Professional\MSBuild\Current\bin\MSBuild.exe"
IF EXIST "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current" SET "MSBUILD=%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin\MSBuild.exe"
"%MSBUILD%" /nologo /v:m /m Source\EWSImageMaps.sln /t:Clean;Restore;Build "/p:Configuration=Release;Platform=Any CPU"
COPY Source\WinForms\bin\Release\*.nupkg .\Deployment
COPY Source\WebControls\bin\Release\*.nupkg .\Deployment
IF NOT "%SHFBROOT%"=="" "%MSBUILD%" /nologo /v:m Doc\EWSoftwareImageMaps.sln /t:Clean;Build "/p:Configuration=Release;Platform=Any CPU"
IF "%SHFBROOT%"=="" ECHO **** Sandcastle help file builder not installed. Skipping help build. ****