Explorar o código

Redirected test result file output to directory './build_output'

ArnoldZokas %!s(int64=15) %!d(string=hai) anos
pai
achega
7f026c7199
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      build/Common.targets
  2. 2 2
      build/build.csproj

+ 1 - 1
build/Common.targets

@@ -11,7 +11,7 @@
 	</Target>
 
 	<Target Name="_Test">
-		<Exec Command="&quot;E:\dotnet-protobufs\lib\NUnit 2.2.8.0\nunit-console.exe&quot; %(TestContainer.Identity)" />
+		<Exec Command="&quot;E:\dotnet-protobufs\lib\NUnit 2.2.8.0\nunit-console.exe&quot; %(TestContainer.Identity) /xml:$(BuildOutputDirectory)\%(TestContainer.Filename).$(BuildConfiguration).xml" />
 	</Target>
 
 </Project>

+ 2 - 2
build/build.csproj

@@ -7,7 +7,7 @@
 
 		<!--Directory Paths-->
 		<ProjectDirectory>$(MSBuildProjectDirectory)\..</ProjectDirectory>
-		<BuildTempDirectory>$(ProjectDirectory)\_tmp</BuildTempDirectory>
+		<BuildOutputDirectory>$(ProjectDirectory)\build_output</BuildOutputDirectory>
 		
 		<!--File Paths-->
 		<SolutionFile>$(ProjectDirectory)\src\ProtocolBuffers.sln</SolutionFile>
@@ -19,7 +19,7 @@
 	<Import Project="Common.targets"/>
 
 	<ItemGroup>
-		<WorkingDirectories Include="$(BuildTempDirectory)" />
+		<WorkingDirectories Include="$(BuildOutputDirectory)" />
 		
 		<Solution Include="$(SolutionFile)" />