forked from RainbowMage/OverlayPlugin
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.bat
More file actions
20 lines (13 loc) · 676 Bytes
/
Copy pathbuild.bat
File metadata and controls
20 lines (13 loc) · 676 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@echo off
if not exist "%~dp0\Thirdparty\ACT\Advanced Combat Tracker.exe" (
echo Error: Please copy "Advanced Combat Tracker.exe" into "Thirdparty\ACT" directory.
goto END
)
set DOTNET_PATH=%windir%\Microsoft.NET\Framework\v4.0.30319
if not exist %DOTNET_PATH% (
echo Error: Couldn't find .NET Framework directory. To execute the build, .NET Framework 4.5.1 or higher must be installed.
goto END
)
%DOTNET_PATH%\msbuild /t:Rebuild /p:Configuration=Release /p:Platform=x86 /p:OutputPath="%~dp0\BuildX86" "%~dp0\OverlayPlugin.sln"
%DOTNET_PATH%\msbuild /t:Rebuild /p:Configuration=Release /p:Platform=x64 /p:OutputPath="%~dp0\BuildX64" "%~dp0\OverlayPlugin.sln"
:END