/
oob-all.proj
32 lines (26 loc) · 1.95 KB
/
oob-all.proj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<Project Sdk="Microsoft.Build.Traversal">
<PropertyGroup Condition="'$(BuildTargetFramework)' == 'net48'">
<TargetFramework>$(BuildTargetFramework)</TargetFramework>
<!-- Filter ProjectReferences to build the best matching target framework only. -->
<FilterTraversalProjectReferences>true</FilterTraversalProjectReferences>
</PropertyGroup>
<!-- Reference all out-of-band projects. -->
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)*\src\*.*proj"
Exclude="@(ProjectExclusions);
$(MSBuildThisFileDirectory)*\src\**\*.shproj;
shims\src\*.csproj" />
<!-- Build these packages in the allconfigurations leg only. -->
<ProjectReference Remove="Microsoft.Internal.Runtime.AspNetCore.Transport\src\Microsoft.Internal.Runtime.AspNetCore.Transport.proj;
Microsoft.Internal.Runtime.WindowsDesktop.Transport\src\Microsoft.Internal.Runtime.WindowsDesktop.Transport.proj;
Microsoft.Windows.Compatibility\src\Microsoft.Windows.Compatibility.csproj"
Condition="'$(BuildAllConfigurations)' != 'true'" />
<!-- Skip these projects during source-build as they rely on external prebuilts. -->
<ProjectReference Remove="Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj;
Microsoft.Windows.Compatibility\src\Microsoft.Windows.Compatibility.csproj"
Condition="'$(DotNetBuildFromSource)' == 'true'" />
<!-- During an official build, build the identity package only in the allconfigurations build, otherwise always. -->
<ProjectReference Include="$(MSBuildThisFileDirectory)*\pkg\runtime.native.*.proj"
Condition="'$(BuildingAnOfficialBuildLeg)' != 'true' or '$(BuildAllConfigurations)' == 'true'" />
</ItemGroup>
</Project>