RynthCore/tools/OutdoorHuntPickTests/OutdoorHuntPickTests.csproj

31 lines
1.4 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<!--
Offline checks for the Settings > Navigation > Outdoor Hunt "Go for" row (2026-11-08): the mirror
of RynthAi's OutdoorHuntPick (0 = Nearest monster, 1 = Biggest pack, 2 = Most XP) in
UI\Data\SettingsData.cs. Nothing is claimed until RynthAi sends the value (an older RynthAi omits
it: the row stays hidden and a save sends null, which RynthAi leaves alone); the row edits only
that property and keeps it within the three choices.
The engine has no test seam for SettingsData.cs (it pulls in the whole ImGui layer), so this
references the built engine assembly and reaches the internal types by reflection. x86, like
the engine: needs the x86 .NET runtime (C:\Program Files (x86)\dotnet).
Run: dotnet run -c Release (exit 0 = pass, 1 = fail)
-->
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0-windows</TargetFramework>
<PlatformTarget>x86</PlatformTarget>
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<Platforms>x86</Platforms>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
<RootNamespace>OutdoorHuntPickTests</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\RynthCore.Engine\RynthCore.Engine.csproj" />
</ItemGroup>
</Project>