The Launcher's XP11 port (8730b9b) now extends to everything: one net40
flavor across Console, vPOD, Contract, and SecureConfig (Newtonsoft.Json
everywhere; the net48/System.Text.Json legs and their #if splits are gone
since nothing consumed them).
Console (net40, single TFM like the Launcher):
- The ~31 BinaryFormatter bitmap blobs in the .resx files became raw
embedded files under assets/icons/ (extracted byte-faithfully via a
serialization surrogate — the animated square_throbber.gif survives),
loaded by Properties.Resources.EmbeddedBitmap/EmbeddedIcon. Reason:
System.Resources.Extensions' DeserializingResourceReader is net461+
and cannot load on net40. Strings stay in the .resx.
- IReadOnlyList -> IList in AppRegistry (net45+ interface).
vPOD (net40, single TFM):
- Zip extraction now shares the Launcher's MiniZip.cs (linked source), so
the diff-test install round-trip exercises it against ZipArchive zips.
- RPC args as JTokens; LaunchApps.json persistence via Newtonsoft;
Thread.VolatileRead instead of Volatile.Read.
Contract/SecureConfig: net40-only; Client/** (PodManagerConnection) now
ships in the one build. The Launcher package gains
TeslaSecureConfiguration.dll as a dependency of the client half.
Tests: the net48 xunit host loads the net40 assemblies (both CLR4), so
the suite exercises exactly what ships — 106/106 green. Also verified
live: net40 console provisioned, managed, and ran a full RP mission
against net40 vPOD (beacon/passphrase/RSA, 53290 RPC, egg load,
Run/Stop Mission).
Version: 4.11.4.3 across Launcher, Console, and vPOD (vPOD joins the
suite version line; was 1.0.0). Ship the dotNetFx40 redistributable in
Launcher/assets for XP-era pods.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
66 lines
3.1 KiB
XML
66 lines
3.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!--
|
|
Differential test suite: verifies the reconstructed TeslaConsole.exe behaves
|
|
identically to the original (reference baseline in ../../original).
|
|
|
|
Targets net48 on purpose: the comparison loads BOTH assemblies (which share
|
|
the exact same assembly identity, TeslaConsole 4.11.3.37076) into separate
|
|
AppDomains, which only the .NET Framework runtime supports.
|
|
-->
|
|
<PropertyGroup>
|
|
<TargetFramework>net48</TargetFramework>
|
|
<LangVersion>latest</LangVersion>
|
|
<Nullable>disable</Nullable>
|
|
<ImplicitUsings>disable</ImplicitUsings>
|
|
<IsPackable>false</IsPackable>
|
|
<AssemblyName>TeslaConsole.DiffTests</AssemblyName>
|
|
<RootNamespace>TeslaConsole.DiffTests</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- net48 reference assemblies so this builds without a full targeting pack installed -->
|
|
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="all" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
|
|
<PackageReference Include="xunit" Version="2.6.6" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Xml" />
|
|
<!-- Zip building for the VPodLauncherServerTests InstallProduct round-trip -->
|
|
<Reference Include="System.IO.Compression" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- BattleTech golden eggs captured from the original consoles (see BTGoldenEggTests). -->
|
|
<Content Include="BattleTech\*.egg" CopyToOutputDirectory="PreserveNewest" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!--
|
|
Build the reconstruction before the tests so we always compare against a fresh
|
|
build. ReferenceOutputAssembly=false: we load it by path via reflection, and
|
|
copying it next to the tests would collide with the original's identical identity.
|
|
-->
|
|
<ProjectReference Include="..\..\TeslaConsole.csproj">
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
<Private>false</Private>
|
|
</ProjectReference>
|
|
<!-- The source-built wire contract (emits TeslaConsoleLaunchLib.dll). Referenced
|
|
directly so WireContractCompatTests can construct Tesla.Net types and compare
|
|
their BinaryFormatter output against the original vendored DLL. net40 (like
|
|
everything under test since XP11); loads fine in this net48 host — both are
|
|
CLR4 — so the suite exercises the exact Newtonsoft stack that ships. -->
|
|
<ProjectReference Include="..\..\..\Contract\Tesla.Contract.csproj" />
|
|
<!-- The source-built secure-config (emits TeslaSecureConfiguration.dll), for
|
|
SecureConfigCompatTests' byte-identity checks vs the original vendored DLL. -->
|
|
<ProjectReference Include="..\..\..\SecureConfig\Tesla.SecureConfig.csproj" />
|
|
<!-- vPOD's virtual launcher (server side of the pod RPC), exercised end-to-end
|
|
against the real PodManagerConnection client in VPodLauncherServerTests. -->
|
|
<ProjectReference Include="..\..\..\vPOD\vPOD.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|