Skip to content

Commit

Permalink
Include the NativeReference for Hot Restart (#2553)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow authored Aug 16, 2023
1 parent f26cd47 commit 09d15f8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions binding/HarfBuzzSharp/nuget/build/ios/HarfBuzzSharp.targets
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<ItemGroup Condition="'$(IsHotRestartBuild)' == 'true' and '$(RuntimeIdentifier)' != ''">
<NativeReference Include="$(MSBuildThisFileDirectory)..\..\runtimes\iossimulator\native\libHarfBuzzSharp.framework" Kind="Framework" Condition="$(RuntimeIdentifier.StartsWith('iossimulator'))" />
<NativeReference Include="$(MSBuildThisFileDirectory)..\..\runtimes\ios\native\libHarfBuzzSharp.framework" Kind="Framework" Condition="!$(RuntimeIdentifier.StartsWith('iossimulator'))" />
</ItemGroup>

</Project>
5 changes: 5 additions & 0 deletions binding/SkiaSharp/nuget/build/ios/SkiaSharp.targets
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<ItemGroup Condition="'$(IsHotRestartBuild)' == 'true' and '$(RuntimeIdentifier)' != ''">
<NativeReference Include="$(MSBuildThisFileDirectory)..\..\runtimes\iossimulator\native\libSkiaSharp.framework" Kind="Framework" Condition="$(RuntimeIdentifier.StartsWith('iossimulator'))" />
<NativeReference Include="$(MSBuildThisFileDirectory)..\..\runtimes\ios\native\libSkiaSharp.framework" Kind="Framework" Condition="!$(RuntimeIdentifier.StartsWith('iossimulator'))" />
</ItemGroup>

</Project>

0 comments on commit 09d15f8

Please sign in to comment.