Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 521 Bytes
@echo off
set SCRIPT_DIR=%~dp0
set MSBUILD_PATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319\
set /p VERSION=<VERSION.txt
set COMMON_INFO=%SCRIPT_DIR%\src\CommonAssemblyInfo.cs
echo using System.Reflection; > %COMMON_INFO%
echo using System.Runtime.InteropServices; >> %COMMON_INFO%
echo [assembly: AssemblyVersion("%VERSION%")] >> %COMMON_INFO%
%MSBUILD_PATH%\msbuild.exe /p:Configuration=Release src\ServiceRunner.sln
mkdir %SCRIPT_DIR%\build
copy %SCRIPT_DIR%\src\ServiceRunner\bin\Release\ServiceRunner.exe build\
Something went wrong with that request. Please try again.