Skip to content

Commit

Permalink
fix build on mac m1 (#2702)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind authored Oct 5, 2023
1 parent 5e0d377 commit c420292
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<!-- Remove after switching to .NET 8 SDK -->
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
<TargetFramework>net6.0</TargetFramework>
<PublishAot>false</PublishAot>
</PropertyGroup>
<PropertyGroup Condition="!$([MSBuild]::IsOSPlatform('OSX'))">
<TargetFramework>net7.0</TargetFramework>
<PublishAot>true</PublishAot>
</PropertyGroup>

Expand Down

0 comments on commit c420292

Please sign in to comment.