@@ -715,9 +715,9 @@ public void TestWindowsCmdIgnoreErrors()
715
715
public void TestWindowCSharpMsBuild ( )
716
716
{
717
717
actions . RunProcess [ @"cmd.exe /C C:\Project\.nuget\nuget.exe restore C:\Project\test1.sln -DisableParallelProcessing" ] = 0 ;
718
- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true / P:Fu=Bar" ] = 0 ;
718
+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
719
719
actions . RunProcess [ @"cmd.exe /C C:\Project\.nuget\nuget.exe restore C:\Project\test2.sln -DisableParallelProcessing" ] = 0 ;
720
- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test2.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true / P:Fu=Bar" ] = 0 ;
720
+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test2.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
721
721
actions . FileExists [ "csharp.log" ] = true ;
722
722
actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" ] = false ;
723
723
actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" ] = false ;
@@ -746,9 +746,9 @@ public void TestWindowCSharpMsBuild()
746
746
public void TestWindowCSharpMsBuildMultipleSolutions ( )
747
747
{
748
748
actions . RunProcess [ @"cmd.exe /C nuget restore C:\Project\test1.csproj -DisableParallelProcessing" ] = 0 ;
749
- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.csproj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true / P:Fu=Bar" ] = 0 ;
749
+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.csproj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
750
750
actions . RunProcess [ @"cmd.exe /C nuget restore C:\Project\test2.csproj -DisableParallelProcessing" ] = 0 ;
751
- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test2.csproj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true / P:Fu=Bar" ] = 0 ;
751
+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test2.csproj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
752
752
actions . FileExists [ "csharp.log" ] = true ;
753
753
actions . FileExists [ @"C:\Project\test1.csproj" ] = true ;
754
754
actions . FileExists [ @"C:\Project\test2.csproj" ] = true ;
@@ -791,7 +791,7 @@ public void TestWindowCSharpMsBuildMultipleSolutions()
791
791
public void TestWindowCSharpMsBuildFailed ( )
792
792
{
793
793
actions . RunProcess [ @"cmd.exe /C nuget restore C:\Project\test1.sln -DisableParallelProcessing" ] = 0 ;
794
- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true / P:Fu=Bar" ] = 1 ;
794
+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 1 ;
795
795
actions . FileExists [ "csharp.log" ] = true ;
796
796
actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" ] = false ;
797
797
actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" ] = false ;
@@ -817,8 +817,8 @@ public void TestWindowCSharpMsBuildFailed()
817
817
[ Fact ]
818
818
public void TestSkipNugetMsBuild ( )
819
819
{
820
- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true / P:Fu=Bar" ] = 0 ;
821
- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test2.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true / P:Fu=Bar" ] = 0 ;
820
+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
821
+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test2.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
822
822
actions . FileExists [ "csharp.log" ] = true ;
823
823
actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" ] = false ;
824
824
actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" ] = false ;
@@ -1008,7 +1008,7 @@ public void TestDirsProjWindows()
1008
1008
{
1009
1009
actions . RunProcess [ @"cmd.exe /C nuget restore C:\Project\dirs.proj -DisableParallelProcessing" ] = 1 ;
1010
1010
actions . RunProcess [ @"cmd.exe /C C:\Project\.nuget\nuget.exe restore C:\Project\dirs.proj -DisableParallelProcessing" ] = 0 ;
1011
- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ dirs.proj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true / P:Fu=Bar" ] = 0 ;
1011
+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ dirs.proj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
1012
1012
actions . FileExists [ "csharp.log" ] = true ;
1013
1013
actions . FileExists [ @"C:\Project\a\test.csproj" ] = true ;
1014
1014
actions . FileExists [ @"C:\Project\dirs.proj" ] = true ;
@@ -1052,7 +1052,7 @@ public void TestDirsProjLinux()
1052
1052
{
1053
1053
actions . RunProcess [ @"nuget restore C:\Project/dirs.proj -DisableParallelProcessing" ] = 1 ;
1054
1054
actions . RunProcess [ @"mono C:\Project/.nuget/nuget.exe restore C:\Project/dirs.proj -DisableParallelProcessing" ] = 0 ;
1055
- actions . RunProcess [ @"msbuild C:\Project/dirs.proj /p:UseSharedCompilation=false /t:rebuild /p:MvcBuildViews=true " ] = 0 ;
1055
+ actions . RunProcess [ @"msbuild C:\Project/dirs.proj /p:UseSharedCompilation=false /t:rebuild" ] = 0 ;
1056
1056
actions . FileExists [ "csharp.log" ] = true ;
1057
1057
actions . FileExists [ @"C:\Project/a/test.csproj" ] = true ;
1058
1058
actions . FileExists [ @"C:\Project/dirs.proj" ] = true ;
0 commit comments