summaryrefslogtreecommitdiff
path: root/packages/microsoft.dotnet.buildtools/2.1.0-rc1-03006-01/lib/ilasm/ilasm.depproj
blob: 9ae9f68dc6b5f45405c812f74457410130068e8e (plain)
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
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <!-- suppress the attempt to copy build output. -->
    <CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
  </PropertyGroup>

  <Target Name="CoreCompile">
    <Copy SourceFiles="@(NativeCopyLocalItems)" DestinationFolder="$(MSBuildThisFileDirectory)" />
  </Target>

  <!-- Required by Common.Targets -->
  <Target Name="CreateManifestResourceNames" />

  <PropertyGroup>
    <NuGetTargetMoniker>.NETCoreApp,Version=v2.0</NuGetTargetMoniker>
    <TargetFramework>netcoreapp2.0</TargetFramework>
    <RidSpecificAssets>true</RidSpecificAssets>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.NETCore.ILAsm" Version="$(ILAsmPackageVersion)" />

    <!-- ILAsm has a very unfortunate runtime dependency on CoreCLR, so we need to grab that too -->
    <!-- https://github.com/dotnet/coreclr/issues/15059 -->
    <PackageReference Include="Microsoft.NETCore.Runtime.CoreCLR" Version="$(ILAsmPackageVersion)" />
  </ItemGroup>
</Project>