37 lines
2.4 KiB
XML
37 lines
2.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!--
|
|
Tests for the server plugins (Plugins\Shared\ServerPack, built into RynthColdeve, RynthAelrynth, ...):
|
|
- the shared model (ServerPackModel.cs, ServerPackInfo.cs): RynthCore's "servermenu" verdict,
|
|
the world-name fallback, the override commands and the sections manifest;
|
|
- every server plugin's csproj, read as XML: unique ids, plugin names and hosts, and no
|
|
server's host claimed by another server's list (RynthCore would load the wrong plugin);
|
|
- the launcher's known-server catalog (RynthCore.App\KnownServerCatalog.cs): every entry names
|
|
a server plugin whose hosts claim the entry's host, with the same port and emulator.
|
|
The plugins are NativeAOT x86 libraries, so the pure sources are compiled in here directly.
|
|
The SDK's manifest file (BCL only) supplies RynthCore's host matching.
|
|
Run: dotnet run -c Release (exit 0 = pass, 1 = fail; an argument filters by test name)
|
|
-->
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
<RootNamespace>RynthServerPack.Tests</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\..\Plugins\Shared\ServerPack\ServerPackInfo.cs" Link="Plugin\ServerPackInfo.cs" />
|
|
<Compile Include="..\..\Plugins\Shared\ServerPack\ServerPackModel.cs" Link="Plugin\ServerPackModel.cs" />
|
|
<!-- "RynthServer.Profile": the profile JSON, and the shared reader's parser that consumes it. -->
|
|
<Compile Include="..\..\Plugins\Shared\ServerPack\ServerPackProfile.cs" Link="Plugin\ServerPackProfile.cs" />
|
|
<Compile Include="..\..\Plugins\Shared\EngineServerState.cs" Link="Shared\EngineServerState.cs" />
|
|
<Compile Include="..\..\..\RynthCore\src\RynthCore.PluginSdk\Manifest\RynthPluginManifest.cs" Link="Sdk\RynthPluginManifest.cs" />
|
|
<!-- The launcher's known-server picker, checked against the plugins it names. -->
|
|
<Compile Include="..\..\..\RynthCore\src\RynthCore.App\LaunchServerProfile.cs" Link="Launcher\LaunchServerProfile.cs" />
|
|
<!-- The RynthAi test tools' check/runner harness (no plugin code in it). -->
|
|
<Compile Include="..\RynthCore.RynthAiTests\Harness\Check.cs" Link="Harness\Check.cs" />
|
|
<Compile Include="..\RynthCore.RynthAiTests\Harness\Runner.cs" Link="Harness\Runner.cs" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|