Files
SlaveMatrix-SDL/SlaveMatrix/SlaveMatrix.csproj
REDCODE 636a078c3b net8.0: upgrade from netcoreapp3.1, fix Linux rendering
- TFM: netcoreapp3.1 → net8.0, netstandard2.1 → net8.0
- System.Drawing.Common 5.0.3 → 6.0.0 (last version with Unix support)
- Remove stale packages (NETStandard.Library, System.Collections)
- Set System.Drawing.EnableUnixSupport via runtimeconfig + AppContext
- Pin System.Resources.Extensions 8.0.0, suppress NU1603
- Copy game_folder assets to build output (no run.sh required)
- Sta.CurrentDirectory → AppContext.BaseDirectory for portable path resolution
- Enable UnsafeBinaryFormatterSerialization + InvariantGlobalization
- Add global.json pinning SDK to 8.x
- Remove ambiguous `using System.Net.Mime.MediaTypeNames` in ParT.cs
- Add `using System.Reflection` to Program.cs
2026-06-13 13:18:28 +02:00

42 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>SlaveMatrix</AssemblyName>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup>
<LangVersion>9.0</LangVersion>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>app.ico</ApplicationIcon>
<RootNamespace />
<InvariantGlobalization>true</InvariantGlobalization>
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
<NoWarn>CA1416</NoWarn>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\2DGAMELIB\2DGAMELIB.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="..\game_folder\**\*" CopyToOutputDirectory="PreserveNewest" LinkBase="" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<CustomToolNamespace>SlaveMatrix.Properties</CustomToolNamespace>
</EmbeddedResource>
</ItemGroup>
</Project>