forked from ARKlab/Ark.Tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Group_Pack_ResourceWatcher.bat
29 lines (24 loc) · 1.44 KB
/
Group_Pack_ResourceWatcher.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
setlocal
set PROGRAMS=%ProgramFiles(x86)%
for %%e in (Community Professional Enterprise) do (
if exist "%PROGRAMS%\Microsoft Visual Studio\2017\%%e\MSBuild\15.0\Bin\MSBuild.exe" (
set "MSBUILD=%PROGRAMS%\Microsoft Visual Studio\2017\%%e\MSBuild\15.0\Bin\MSBuild.exe"
)
)
if exist "%MSBUILD%" goto :operations
:nomsbuild
echo Microsoft Build version 15.1 (or later) does not appear to be
echo installed on this machine, which is required to build the solution.
goto end
:operations
setlocal
"%MSBUILD%" "Ark.Tools.ResourceWatcher\Ark.Tools.ResourceWatcher.csproj" /t:Pack /p:Configuration=Release
"%MSBUILD%" "Ark.Tools.ResourceWatcher.ApplicationInsights\Ark.Tools.ResourceWatcher.ApplicationInsights.csproj" /t:Pack /p:Configuration=Release
"%MSBUILD%" "Ark.Tools.ResourceWatcher.Sql\Ark.Tools.ResourceWatcher.Sql.csproj" /t:Pack /p:Configuration=Release
"%MSBUILD%" "Ark.Tools.ResourceWatcher.WorkerHost\Ark.Tools.ResourceWatcher.WorkerHost.csproj" /t:Pack /p:Configuration=Release
"%MSBUILD%" "Ark.Tools.ResourceWatcher.WorkerHost.Ftp\Ark.Tools.ResourceWatcher.WorkerHost.Ftp.csproj" /t:Pack /p:Configuration=Release
"%MSBUILD%" "Ark.Tools.ResourceWatcher.WorkerHost.Hosting\Ark.Tools.ResourceWatcher.WorkerHost.Hosting.csproj" /t:Pack /p:Configuration=Release
"%MSBUILD%" "Ark.Tools.ResourceWatcher.WorkerHost.Sql\Ark.Tools.ResourceWatcher.WorkerHost.Sql.csproj" /t:Pack /p:Configuration=Release
pause
:end