Skip to content

Commit c0a9ee5

Browse files
committed
Try installing SkiaSharp without transitive deps
1 parent 34a90ab commit c0a9ee5

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/WinDynamicDesktop.csproj

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@
3737
</PackageReference>
3838
<PackageReference Include="RestSharp" Version="112.1.0" />
3939
<PackageReference Include="SkiaSharp" Version="3.119.1" />
40-
<PackageReference Include="SkiaSharp.Views.WindowsForms" Version="3.119.1" />
40+
<PackageReference Include="SkiaSharp.Views.Desktop.Common" Version="3.119.1" />
41+
<PackageReference Include="SkiaSharp.Views.WindowsForms" Version="3.119.1">
42+
<PrivateAssets>all</PrivateAssets>
43+
<IncludeAssets>compile; runtime; build; native; contentfiles; analyzers</IncludeAssets>
44+
</PackageReference>
4145
<PackageReference Include="SunCalcNet" Version="1.2.3" />
4246
<PackageReference Include="TimeZoneConverter" Version="7.2.0" />
4347
<PackageReference Include="WindowsDisplayAPI" Version="1.3.0.13" />
@@ -58,10 +62,4 @@
5862
<ItemGroup>
5963
<InternalsVisibleTo Include="WinDynamicDesktop.Tests" />
6064
</ItemGroup>
61-
<Target Name="ExplicitRemoveFromFilesToBundle" BeforeTargets="GenerateSingleFileBundle" DependsOnTargets="PrepareForBundle">
62-
<ItemGroup>
63-
<FilesToRemoveFromBundle Include="@(FilesToBundle)" Condition="($([System.String]::Copy('%(Filename)').StartsWith('OpenTK'))) OR ('%(Filename)' == 'glfw3')" />
64-
<FilesToBundle Remove="@(FilesToRemoveFromBundle)" />
65-
</ItemGroup>
66-
</Target>
6765
</Project>

0 commit comments

Comments
 (0)