blob: b8be3b2b22553e533ae708506f7bfb34775635ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<Project Sdk="Microsoft.NET.Sdk.IL">
<!-- This project exists solely to restore ilasm for use in the test
project. -->
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>
<Target Name="CopyILAsmTool" DependsOnTargets="ResolveIlasmToolPaths" Condition="'$(MonoBuild)' == ''">
<PropertyGroup>
<IlasmFileName Condition=" '$(OS)' != 'Windows_NT' ">ilasm</IlasmFileName>
<IlasmFileName Condition=" '$(OS)' == 'Windows_NT' ">ilasm.exe</IlasmFileName>
</PropertyGroup>
<Copy SourceFiles="$(_IlasmDir)\$(IlasmFileName)" DestinationFolder="$(ArtifactsDir)tools\ilasm" />
</Target>
</Project>
|