-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
oob-all.proj
34 lines (28 loc) · 1.98 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
33
34
<Project Sdk="Microsoft.Build.Traversal">
<PropertyGroup Condition="'$(BuildTargetFramework)' != '' and '$(BuildTargetFramework)' == '$(NetFrameworkCurrent)'">
<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" />
<!-- During an official build, build the identity package only in the allconfigurations build, otherwise always. -->
<ProjectReference Include="$(MSBuildThisFileDirectory)*\pkg\runtime.native.*.proj"
Condition="'$(SkipLibrariesNativeRuntimePackages)' != 'true' and
(
'$(BuildingAnOfficialBuildLeg)' != 'true' or
'$(BuildAllConfigurations)' == 'true'
)" />
<!-- 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"
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"
Condition="'$(DotNetBuildFromSource)' == 'true'" />
</ItemGroup>
</Project>