blob: 5c138fd1e7063cb806502af7b9ff08e6c8c2108b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<Project Sdk="Microsoft.Build.Traversal">
<PropertyGroup>
<TargetFramework>$(NetCoreAppCurrent)-$(TargetOS)</TargetFramework>
</PropertyGroup>
<!-- Reference the source project shims which themselves then reference their corresponding ref project, if it exists. -->
<ItemGroup>
<ProjectReference Include="shims\src\*.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(RefOnly)' == 'true'">
<ReferenceShimProject Include="shims\ref\*.csproj" />
<ProjectReference Include="@(ReferenceShimProject)" />
<!-- Omit projects which depend on source projects to be built. -->
<ProjectReference Remove="@(ReferenceShimProject->'shims\src\%(Filename)%(Extension)')" />
</ItemGroup>
</Project>
|