Aliased (extern alias 'engine') to confine the decompiled engine's large global-namespace type surface, which would otherwise collide with node types (BattlePlayer, MessagePackSerializer). Also expose internals to SVSim.BattleEngine.Tests for the upcoming N0/N1 tests. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
22 lines
922 B
XML
22 lines
922 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
|
<PackageReference Include="MessagePack" Version="2.5.172" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<!-- Aliased: the copied decompiled engine puts a huge type surface in the GLOBAL namespace
|
|
(BattlePlayer, MessagePackSerializer, ...) which would otherwise leak into and collide
|
|
with every node file. The extern alias confines it; only Sessions/Engine/* opts in. -->
|
|
<ProjectReference Include="..\SVSim.BattleEngine\SVSim.BattleEngine.csproj" Aliases="engine" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<InternalsVisibleTo Include="SVSim.UnitTests" />
|
|
<InternalsVisibleTo Include="SVSim.BattleEngine.Tests" />
|
|
</ItemGroup>
|
|
</Project>
|