Skip to content

Commit

Permalink
dont use readytorun on linux for now
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Jul 17, 2024
1 parent bda7d3d commit e5501a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions studio/OneWare.Studio.Desktop/OneWare.Studio.Desktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
<PublishTrimmed>false</PublishTrimmed>
</PropertyGroup>

<!--Prevent MemoryAccessViolation with newer NET8 SDKs-->
<PropertyGroup Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' ">
<PublishReadyToRun>false</PublishReadyToRun>
</PropertyGroup>

<!--Not working in NET7 / Avalonia 11-->
<PropertyGroup Condition="'$(Configuration)' == 'ReleaseAOT'">
<TrimMode>partial</TrimMode>
Expand Down

0 comments on commit e5501a5

Please sign in to comment.