-
Notifications
You must be signed in to change notification settings - Fork 407
/
Copy pathBuild Demos NET2.bat
29 lines (20 loc) · 1.18 KB
/
Build Demos NET2.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
rem set msbuildexe=%WINDIR%\Microsoft.NET\Framework\v2.0.50727\msbuild.exe
rem set msbuildexe=%WINDIR%\Microsoft.NET\Framework\v3.5\msbuild.exe
set msbuildexe=%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
set builddir2=Release-NETv2.0
mkdir .\%builddir2%
del /q /s .\%builddir2%\*.*
set builddir3=Release-NETv3.5
mkdir .\%builddir3%
del /q /s .\%builddir3%\*.*
%msbuildexe% /fl /flp:LogFile=build.log;Append;errorsonly /nologo /p:WarningLevel=0;Optimize=True;Platform=AnyCPU;TargetFrameworkVersion=v2.0 /clp:Verbosity=m; /t:Rebuild /p:Configuration=Release ..\Demo.WindowsForms\Demo.WindowsForms.csproj
%msbuildexe% /fl /flp:LogFile=build.log;Append;errorsonly /nologo /p:WarningLevel=0;Optimize=True;Platform=AnyCPU;TargetFrameworkVersion=v3.5 /clp:Verbosity=m; /t:Rebuild /p:Configuration=Release ..\Demo.WindowsPresentation\Demo.WindowsPresentation.csproj
del /q /s .\%builddir2%\*.application
del /q /s .\%builddir2%\*.exe.manifest
del /q /s .\%builddir3%\*.application
del /q /s .\%builddir3%\*.exe.manifest
copy /b ..\Info\License.txt .\%builddir2%\License.txt
copy /b ..\Info\License.txt .\%builddir3%\License.txt
if "%1"=="nopause" goto end
pause
:end