forked from peters/Fleck2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.bat
26 lines (21 loc) · 974 Bytes
/
build.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
@echo off
set config=Release
set platform=AnyCpu
set outputdir=%cwd%\bin
set cwd=%CD%
set commonflags=/p:Configuration=%config% /p:Platform=%platform% /p:DebugSymbols=false /p:DebugType=None
set fdir=%WINDIR%\Microsoft.NET\Framework
set msbuild=%fdir%\v4.0.30319\msbuild.exe
:build
echo ---------------------------------------------------------------------
echo Compile started...
%msbuild% src\Fleck2.csproj %commonflags% /tv:2.0 /p:TargetFrameworkVersion=v2.0 /p:OutputPath="%outputdir%\NET20"
%msbuild% src\Fleck2.csproj %commonflags% /tv:3.5 /p:TargetFrameworkVersion=v3.5 /p:OutputPath="%outputdir%\NET35"
%msbuild% src\Fleck2.csproj %commonflags% /tv:4.0 /p:TargetFrameworkVersion=v4.0 /p:OutputPath="%outputdir%\NET40"
%msbuild% src\Fleck2.csproj %commonflags% /tv:4.0 /p:TargetFrameworkVersion=v4.5 /p:OutputPath="%outputdir%\NET45"
:done
echo.
echo ---------------------------------------------------------------------
echo Compile finished....
goto exit
:exit