fix(dotnet): use ImageSharp to also support Linux

This commit is contained in:
Benoît CORTIER
2024-04-09 11:35:48 -04:00
committed by Benoît Cortier
parent 26421c7469
commit c0031d34eb
3 changed files with 32 additions and 31 deletions
@@ -9,10 +9,14 @@
<ItemGroup>
<ProjectReference Include="../Devolutions.IronRdp/Devolutions.IronRdp.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="8.0.3" />
<!--
System.Drawing.Common NuGet package is only supported on Windows operating systems.
One of the recommended alternatives include ImageSharp.
https://learn.microsoft.com/en-us/dotnet/api/system.drawing?view=net-8.0
-->
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.3" />
</ItemGroup>
</Project>