forked from jbevain/cecil
-
Notifications
You must be signed in to change notification settings - Fork 43
/
Microsoft.DotNet.Cecil.csproj
21 lines (21 loc) · 1.2 KB
/
Microsoft.DotNet.Cecil.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Project Sdk="Microsoft.Build.NoTargets">
<PropertyGroup>
<TargetFramework>$(ToolsFramework)</TargetFramework>
<IsPackable>true</IsPackable>
<IncludeBuildOutput>true</IncludeBuildOutput>
<!-- Reference the outputs for the dependency nodes calculation. -->
<NoTargetsDoNotReferenceOutputAssemblies>false</NoTargetsDoNotReferenceOutputAssemblies>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="symbols\pdb\Mono.Cecil.Pdb.csproj" PrivateAssets="all" />
<ProjectReference Include="Mono.Cecil.csproj" PrivateAssets="all" />
<ProjectReference Include="symbols\mdb\Mono.Cecil.Mdb.csproj" PrivateAssets="all" />
<ProjectReference Include="rocks\Mono.Cecil.Rocks.csproj" PrivateAssets="all" />
</ItemGroup>
<Target Name="CopyProjectReferencesToPackage" DependsOnTargets="BuildOnlySettings;ResolveReferences">
<ItemGroup>
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('PrivateAssets', 'All'))" />
</ItemGroup>
</Target>
</Project>