File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11@ ECHO OFF
22SETLOCAL
3+ cd %~dp0
34SET msbuild = %windir% \microsoft.net\framework\v4.0.30319\msbuild
45SET documentation = ..\Documentation
56SET project = ..\ICSharpCode.AvalonEdit\ICSharpCode.AvalonEdit.csproj
6- SET sample = ..\ICSharpCode.AvalonEdit.Samle\ICSharpCode.AvalonEdit.Sample.csproj
77SET buildoptions = /t:Rebuild /p:Configuration=Release /p:DebugType=PdbOnly
88
99@ echo Using this script requires nuget.exe to be in the PATH, and that Sandcastle Help File Builder is installed.
@@ -13,6 +13,10 @@ SET buildoptions=/t:Rebuild /p:Configuration=Release /p:DebugType=PdbOnly
1313%msbuild% /m %project% /t:Clean /p:Configuration=Debug /p:OutputPath=%~dp0 \AvalonEdit\lib\Net40
1414@ if %errorlevel% neq 0 exit /B 1
1515
16+ :Normal build without modified output path; used by SHFB
17+ %msbuild% /m %project% %buildoptions% /p:Platform=Net40
18+ @ if %errorlevel% neq 0 exit /B 1
19+
1620:BUILD .NET 4.0 version
1721%msbuild% /m %project% %buildoptions% /p:Platform=Net40 /p:OutputPath=%~dp0 \AvalonEdit\lib\Net40
1822@ if %errorlevel% neq 0 exit /B 1
You can’t perform that action at this time.
0 commit comments