瀏覽代碼

Migrated target '_CompileGeneratedSource'

ArnoldZokas 15 年之前
父節點
當前提交
6c1033ce2a
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      build/Common.targets

+ 5 - 1
build/Common.targets

@@ -25,7 +25,11 @@
 		<Copy SourceFiles="%(GeneratedSource.Identity)" DestinationFiles="%(GeneratedSource.TargetDirectory)\%(GeneratedSource.Filename)%(GeneratedSource.Extension)" />
 	</Target>
 
-	<Target Name="_Test" DependsOnTargets="_CopyGeneratedSource">
+	<Target Name="_CompileGeneratedSource" DependsOnTargets="_CopyGeneratedSource">
+		<MSBuild Projects="$(SolutionFile)" Properties="Configuration=$(BuildConfiguration)" BuildInParallel="true" />
+	</Target>
+
+	<Target Name="_Test" DependsOnTargets="_CompileGeneratedSource">
 		<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>