@@ -462,7 +462,7 @@ public void TestDefaultCppAutobuilder()
462462 public void TestCppAutobuilderSuccess ( )
463463 {
464464 Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore C:\Project\test.sln" ] = 1 ;
465- Actions . RunProcess [ @"cmd.exe /C CALL ^""C:\Program Files ^(x86^)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat^"" && C:\odasa\tools\odasa index --auto msbuild C:\Project\test.sln /p:UseSharedCompilation=false /t:rebuild /p:Platform=""x86"" /p:Configuration=""Release"" /p:MvcBuildViews=true" ] = 0 ;
465+ Actions . RunProcess [ @"cmd.exe /C CALL ^""C:\Program Files ^(x86^)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat^"" && set Platform=&& type NUL && C:\odasa\tools\odasa index --auto msbuild C:\Project\test.sln /p:UseSharedCompilation=false /t:rebuild /p:Platform=""x86"" /p:Configuration=""Release"" /p:MvcBuildViews=true" ] = 0 ;
466466 Actions . RunProcessOut [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -prerelease -legacy -property installationPath" ] = "" ;
467467 Actions . RunProcess [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -prerelease -legacy -property installationPath" ] = 1 ;
468468 Actions . RunProcess [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -prerelease -legacy -property installationVersion" ] = 0 ;
@@ -733,9 +733,9 @@ public void TestWindowsCmdIgnoreErrors()
733733 public void TestWindowCSharpMsBuild ( )
734734 {
735735 Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore C:\Project\test1.sln" ] = 0 ;
736- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
736+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
737737 Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore C:\Project\test2.sln" ] = 0 ;
738- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test2.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
738+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test2.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
739739 Actions . RunProcess [ @"cmd.exe /C C:\codeql\tools\java\bin\java -jar C:\codeql\csharp\tools\extractor-asp.jar ." ] = 0 ;
740740 Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\odasa index --xml --extensions config csproj props xml" ] = 0 ;
741741 Actions . FileExists [ "csharp.log" ] = true ;
@@ -764,9 +764,9 @@ public void TestWindowCSharpMsBuild()
764764 public void TestWindowCSharpMsBuildMultipleSolutions ( )
765765 {
766766 Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore test1.csproj" ] = 0 ;
767- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild test1.csproj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
767+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild test1.csproj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
768768 Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore test2.csproj" ] = 0 ;
769- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild test2.csproj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
769+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild test2.csproj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
770770 Actions . RunProcess [ @"cmd.exe /C C:\codeql\tools\java\bin\java -jar C:\codeql\csharp\tools\extractor-asp.jar ." ] = 0 ;
771771 Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\odasa index --xml --extensions config csproj props xml" ] = 0 ;
772772 Actions . FileExists [ "csharp.log" ] = true ;
@@ -811,7 +811,7 @@ public void TestWindowCSharpMsBuildMultipleSolutions()
811811 public void TestWindowCSharpMsBuildFailed ( )
812812 {
813813 Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore C:\Project\test1.sln" ] = 0 ;
814- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 1 ;
814+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 1 ;
815815 Actions . FileExists [ "csharp.log" ] = true ;
816816 Actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" ] = false ;
817817 Actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" ] = false ;
@@ -837,8 +837,8 @@ public void TestWindowCSharpMsBuildFailed()
837837 [ Fact ]
838838 public void TestSkipNugetMsBuild ( )
839839 {
840- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
841- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test2.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
840+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
841+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test2.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
842842 Actions . RunProcess [ @"cmd.exe /C C:\codeql\tools\java\bin\java -jar C:\codeql\csharp\tools\extractor-asp.jar ." ] = 0 ;
843843 Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\odasa index --xml --extensions config csproj props xml" ] = 0 ;
844844 Actions . FileExists [ "csharp.log" ] = true ;
@@ -1031,7 +1031,7 @@ public void TestDotnetVersionWindows()
10311031 public void TestDirsProjWindows ( )
10321032 {
10331033 Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore dirs.proj" ] = 1 ;
1034- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild dirs.proj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
1034+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild dirs.proj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
10351035 Actions . RunProcess [ @"cmd.exe /C C:\codeql\tools\java\bin\java -jar C:\codeql\csharp\tools\extractor-asp.jar ." ] = 0 ;
10361036 Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\odasa index --xml --extensions config csproj props xml" ] = 0 ;
10371037 Actions . FileExists [ "csharp.log" ] = true ;
0 commit comments