Use `System.Drawing.Primitives`

This commit is contained in:
YoshiRulz 2024-07-26 10:28:44 +10:00
parent 413fd40b46
commit 7b644f771e
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
6 changed files with 7 additions and 1 deletions

View File

@ -32,6 +32,7 @@
<PackageVersion Include="System.Collections.Immutable" Version="8.0.0" /> <PackageVersion Include="System.Collections.Immutable" Version="8.0.0" />
<PackageVersion Include="System.ComponentModel.Annotations" Version="5.0.0" /> <PackageVersion Include="System.ComponentModel.Annotations" Version="5.0.0" />
<PackageVersion Include="System.Drawing.Common" Version="6.0.0" /> <PackageVersion Include="System.Drawing.Common" Version="6.0.0" />
<PackageVersion Include="System.Drawing.Primitives" Version="4.3.0" />
<PackageVersion Include="System.Memory" Version="4.5.5" /> <PackageVersion Include="System.Memory" Version="4.5.5" />
<PackageVersion Include="System.Net.Http" Version="4.3.4" /> <PackageVersion Include="System.Net.Http" Version="4.3.4" />
<PackageVersion Include="System.Reflection.Emit" Version="4.7.0" /> <PackageVersion Include="System.Reflection.Emit" Version="4.7.0" />

View File

@ -9,6 +9,7 @@
<UseWindowsForms>true</UseWindowsForms> <UseWindowsForms>true</UseWindowsForms>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="System.Drawing.Common" PrivateAssets="all" />
<ProjectReference Include="$(ProjectDir)../BizHawk.Bizware.Graphics/BizHawk.Bizware.Graphics.csproj" /> <ProjectReference Include="$(ProjectDir)../BizHawk.Bizware.Graphics/BizHawk.Bizware.Graphics.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -10,7 +10,8 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Cyotek.Drawing.BitmapFont" /> <PackageReference Include="Cyotek.Drawing.BitmapFont" />
<PackageReference Include="ImGui.NET" ExcludeAssets="native" /> <PackageReference Include="ImGui.NET" ExcludeAssets="native" />
<PackageReference Include="System.Drawing.Common" /> <PackageReference Include="System.Drawing.Common" PrivateAssets="all" />
<PackageReference Include="System.Drawing.Primitives" />
<PackageReference Include="Silk.NET.OpenGL" /> <PackageReference Include="Silk.NET.OpenGL" />
<PackageReference Include="Silk.NET.WGL.Extensions.NV" /> <PackageReference Include="Silk.NET.WGL.Extensions.NV" />
<PackageReference Include="ppy.SDL2-CS" ExcludeAssets="native;contentFiles" /> <PackageReference Include="ppy.SDL2-CS" ExcludeAssets="native;contentFiles" />

View File

@ -12,6 +12,7 @@
<PackageReference Include="Microsoft.Data.Sqlite.Core" /> <PackageReference Include="Microsoft.Data.Sqlite.Core" />
<PackageReference Include="SharpCompress" /> <PackageReference Include="SharpCompress" />
<PackageReference Include="SQLitePCLRaw.provider.e_sqlite3" /> <PackageReference Include="SQLitePCLRaw.provider.e_sqlite3" />
<PackageReference Include="System.Drawing.Common" PrivateAssets="all" />
<ProjectReference Include="$(ProjectDir)../BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj" /> <ProjectReference Include="$(ProjectDir)../BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj" />
<ProjectReference Include="$(ProjectDir)../BizHawk.Bizware.Graphics/BizHawk.Bizware.Graphics.csproj" /> <ProjectReference Include="$(ProjectDir)../BizHawk.Bizware.Graphics/BizHawk.Bizware.Graphics.csproj" />
<EmbeddedResource Include="Resources/**/*" /> <EmbeddedResource Include="Resources/**/*" />

View File

@ -21,6 +21,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Magick.NET-Q8-AnyCPU" /> <PackageReference Include="Magick.NET-Q8-AnyCPU" />
<PackageReference Include="System.Drawing.Common" />
<ProjectReference Include="$(ProjectDir)../BizHawk.Bizware.Graphics/BizHawk.Bizware.Graphics.csproj" /> <ProjectReference Include="$(ProjectDir)../BizHawk.Bizware.Graphics/BizHawk.Bizware.Graphics.csproj" />
<ProjectReference Include="$(ProjectDir)../BizHawk.Client.Common/BizHawk.Client.Common.csproj" /> <ProjectReference Include="$(ProjectDir)../BizHawk.Client.Common/BizHawk.Client.Common.csproj" />
<EmbeddedResource Include="res/**/*" /> <EmbeddedResource Include="res/**/*" />

View File

@ -7,6 +7,7 @@
<UseWindowsForms>true</UseWindowsForms> <UseWindowsForms>true</UseWindowsForms>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="System.Drawing.Common" />
<ProjectReference Include="$(ProjectDir)../BizHawk.Common/BizHawk.Common.csproj" /> <ProjectReference Include="$(ProjectDir)../BizHawk.Common/BizHawk.Common.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>