<!-- Retrieve the UAP Tools to the TestHost folder -->
<Target Name="CopyUAPToolsToTestHost"
- Condition="'$(TargetGroup)' == 'uap' and '$(DotNetBuildFromSource)' != 'true'"
+ Condition="'$(TargetGroup)' == 'uap' and '$(BuildAllConfigurations)' != 'true' and '$(DotNetBuildFromSource)' != 'true'"
AfterTargets="Restore">
<PropertyGroup>
<CoverageReportDir>$(ArtifactsDir)coverage</CoverageReportDir>
<!-- For UAP we are using an APPX that is registered with a unique ID. Because of that we need to run tests sequentially -->
<SerializeProjects Condition="'$(BuildingUAPVertical)' == 'true' or '$(Coverage)' == 'true'">true</SerializeProjects>
+ <TraversalBuildDependsOn Condition="'$(BuildingUAPVertical)' == 'true' and '$(BuildAllConfigurations)' != 'true'">MakeCommonResourcesPriFile;$(TraversalBuildDependsOn)</TraversalBuildDependsOn>
</PropertyGroup>
<ItemGroup Condition="'$(BuildAllConfigurations)' != 'true'">
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<Target Name="Build" DependsOnTargets="BuildAllProjects" />
- <Target Name="BuildAllProjects" DependsOnTargets="FilterProjects">
+ <Target Name="BuildAllProjects" DependsOnTargets="$(TraversalBuildDependsOn);FilterProjects">
<MSBuild Targets="Build"
Projects="@(Project)"
Properties="BuildAllProjects=true;BuildConfiguration=$(BuildConfiguration);%(Project.AdditionalProperties)"