Skip to content

Commit

Permalink
ci: Adjust Skia.WPF dependencies to avoid uno.ui reference loop
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Oct 5, 2022
1 parent 92cef51 commit 9d462d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/SamplesApp/SamplesApp.Skia.WPF/SamplesApp.Skia.WPF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
<PackageReference Include="MSTest.TestFramework" Version="2.1.2" />
<PackageReference Include="SkiaSharp.Views.WPF" Version="2.88.1-preview.79" />
<PackageReference Include="SkiaSharp.Views.Uno" />

<!-- Explicitly included to remove all assets from Uno dependencies coming from SkiaSharp.Views.* -->
<PackageReference Include="Uno.UI" Version="4.4.5" ExcludeAssets="all" IncludeAssets="none" PrivateAssets="all" Condition="'$(UNO_UWP_BUILD)'=='true'"/>
<PackageReference Include="Uno.WinUI" Version="4.4.5" ExcludeAssets="all" IncludeAssets="none" PrivateAssets="all" Condition="'$(UNO_UWP_BUILD)'!='true'" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net6.0-windows'">
Expand Down

0 comments on commit 9d462d3

Please sign in to comment.