@@ -26,67 +26,67 @@ if not exist %_ngenexe% echo Error: Could not find ngen.exe. && goto :eof
2626%_ngenexe% install Proto\net40\bin\fsc-proto.exe
2727@ if ERRORLEVEL1 echo Error: NGen of proto failed&& goto :eof
2828
29- %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true
30- @ if ERRORLEVEL1 echo Error: librarydebug build failed&& goto :eof
29+ %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true/p:Configuration=Release
30+ @ if ERRORLEVEL1 echo Error: library build failed&& goto :eof
3131
32- %_msbuildexe% src/fsharp-compiler-build.proj /p:UseNugetPackages=true
33- @ if ERRORLEVEL1 echo Error:compile debug build failed&& goto :eof
32+ %_msbuildexe% src/fsharp-compiler-build.proj /p:UseNugetPackages=true/p:Configuration=Release
33+ @ if ERRORLEVEL1 echo Error:compiler build failed&& goto :eof
3434
3535REM We don't build new net20 FSharp.Core anymore
3636REM %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=net20
37- REM @if ERRORLEVEL 1 echo Error: library net20debug build failed && goto :eof
37+ REM @if ERRORLEVEL 1 echo Error: library net20 build failed && goto :eof
3838
39- %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable47
40- @ if ERRORLEVEL1 echo Error: library portable47debug build failed&& goto :eof
39+ %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable47 /p:Configuration=Release
40+ @ if ERRORLEVEL1 echo Error: library portable47 build failed&& goto :eof
4141
42- %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable7
43- @ if ERRORLEVEL1 echo Error: library portable7debug build failed&& goto :eof
42+ %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable7 /p:Configuration=Release
43+ @ if ERRORLEVEL1 echo Error: library portable7 build failed&& goto :eof
4444
4545
46- %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable78
47- @ if ERRORLEVEL1 echo Error: library portable78debug build failed&& goto :eof
46+ %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable78 /p:Configuration=Release
47+ @ if ERRORLEVEL1 echo Error: library portable78 build failed&& goto :eof
4848
49- %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable259
50- @ if ERRORLEVEL1 echo Error: library portable259debug build failed&& goto :eof
49+ %_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable259 /p:Configuration=Release
50+ @ if ERRORLEVEL1 echo Error: library portable259 build failed&& goto :eof
5151
5252
5353
5454
55- %_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true
56- @ if ERRORLEVEL1 echo Error: library unittestsdebug build failed&& goto :eof
55+ %_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:Configuration=Release
56+ @ if ERRORLEVEL1 echo Error: library unittests build failed&& goto :eof
5757
58- %_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable47
59- @ if ERRORLEVEL1 echo Error: library unittestsdebug build failed portable47&& goto :eof
58+ %_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable47 /p:Configuration=Release
59+ @ if ERRORLEVEL1 echo Error: library unittests build failed portable47&& goto :eof
6060
61- %_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable7
62- @ if ERRORLEVEL1 echo Error: library unittestsdebug build failed portable7&& goto :eof
61+ %_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable7 /p:Configuration=Release
62+ @ if ERRORLEVEL1 echo Error: library unittests build failed portable7&& goto :eof
6363
64- %_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable78
65- @ if ERRORLEVEL1 echo Error: library unittestsdebug build failed portable78&& goto :eof
64+ %_msbuildexe% src/fsharp-library-unittests-build.proj /p:UseNugetPackages=true /p:TargetFramework=portable78 /p:Configuration=Release
65+ @ if ERRORLEVEL1 echo Error: library unittests build failed portable78&& goto :eof
6666
6767
6868@ echo on
69- call src\update.cmddebug -ngen
69+ call src\update.cmdrelease -ngen
7070
7171@ echo on
72- call tests\BuildTestTools.cmddebug
73- REM @if ERRORLEVEL 1 echo Error: 'tests\BuildTestTools.cmddebug ' failed && goto :eof
72+ call tests\BuildTestTools.cmdrelease
73+ @ if ERRORLEVEL1 echo Error: 'tests\BuildTestTools.cmdrelease ' failed&& goto :eof
7474
7575@ echo on
7676
7777pushd tests
7878
7979REM Disabled while working out perl problem, see https://github.com/Microsoft/visualfsharp/pull/169
80- REM call RunTests.cmddebug fsharp Smoke
81- REM @if ERRORLEVEL 1 echo Error: 'RunTests.cmddebug fsharpqa Smoke' failed && goto :eof
80+ REM call RunTests.cmdrelease fsharp Smoke
81+ REM @if ERRORLEVEL 1 echo Error: 'RunTests.cmdrelease fsharpqa Smoke' failed && goto :eof
8282
8383REM Disabled while working out perl problem, see https://github.com/Microsoft/visualfsharp/pull/169
84- REM call RunTests.cmddebug fsharpqa Smoke
85- REM @if ERRORLEVEL 1 echo Error: 'RunTests.cmddebug fsharpqa Smoke' failed && goto :eof
84+ REM call RunTests.cmdrelease fsharpqa Smoke
85+ REM @if ERRORLEVEL 1 echo Error: 'RunTests.cmdrelease fsharpqa Smoke' failed && goto :eof
8686
8787set PATH = %PATH% ;%~dp0 %packages\NUnit.Runners.2.6.3\tools\
88- call RunTests.cmddebug coreunit
89- @ if ERRORLEVEL1 echo Error: 'RunTests.cmddebug coreunit' failed&& goto :eof
88+ call RunTests.cmdrelease coreunit
89+ @ if ERRORLEVEL1 echo Error: 'RunTests.cmdrelease coreunit' failed&& goto :eof
9090
9191popd
9292