Skip to content

Commit f42b975

Browse files
radicalAndreyAkinshin
authored andcommitted
MonoAOTLLVMCsProj.txt: Imports the props file early enough to allow
.. setting properties early.
1 parent c0311bf commit f42b975

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/BenchmarkDotNet/Templates/MonoAOTLLVMCsProj.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
<OriginalCSProjPath>$CSPROJPATH$</OriginalCSProjPath>
44
<MonoPropsPath>$([System.IO.Path]::ChangeExtension('$(OriginalCSProjPath)', '.Mono.props'))</MonoPropsPath>
55
<MonoTargetsPath>$([System.IO.Path]::ChangeExtension('$(OriginalCSProjPath)', '.Mono.targets'))</MonoTargetsPath>
6+
</PropertyGroup>
7+
8+
<Import Project="$(MonoPropsPath)" Condition="Exists($(MonoPropsPath))" />
9+
10+
<PropertyGroup>
611
<OutputType>Exe</OutputType>
712
<OutputPath>bin</OutputPath>
813
<TargetFramework>$TFM$</TargetFramework>
@@ -16,8 +21,6 @@
1621
<StartupObject>BenchmarkDotNet.Autogenerated.UniqueProgramName</StartupObject>
1722
</PropertyGroup>
1823

19-
<Import Project="$(MonoPropsPath)" Condition="Exists($(MonoPropsPath))" />
20-
2124
<ItemGroup>
2225
<PackageReference Include="Microsoft.NET.Runtime.MonoAOTCompiler.Task" version="6.0.0-*" GeneratePathProperty="true" />
2326
</ItemGroup>

0 commit comments

Comments
 (0)