Skip to content

Commit

Permalink
Avoid PublishReadyToRun for libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasReitberger committed Oct 11, 2024
1 parent 6c9c9dd commit c238b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework.maui.props
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</PropertyGroup>

<!-- https://github.com/dotnet/maui/issues/9299 -->
<PropertyGroup Condition=" $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows' and '$(Configuration)' == 'Release' ">
<PropertyGroup Condition=" $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows' and '$(Configuration)' == 'Release' and '$(OutputType)' == 'Exe'">
<PublishReadyToRun>true</PublishReadyToRun>
</PropertyGroup>
</Project>

0 comments on commit c238b99

Please sign in to comment.