build: add NonWindows.slnx for macOS/Linux dev hosts

The Worker + Worker.Tests projects pull in the Windows-only ArchestrA.MxAccess
COM stack and can't be built off Windows. Add a sibling .slnx that lists only
the cross-platform projects (Contracts, Server, IntegrationTests, Tests) so
non-Windows hosts can restore + build the rest of the solution with:

    dotnet build src/ZB.MOM.WW.MxGateway.NonWindows.slnx

The canonical solution on Windows remains ZB.MOM.WW.MxGateway.slnx.
This commit is contained in:
Joseph Doherty
2026-05-26 01:18:29 -04:00
parent ba2b936609
commit 382861c602
+21
View File
@@ -0,0 +1,21 @@
<Solution>
<!--
Non-Windows subset of ZB.MOM.WW.MxGateway.slnx — omits the ArchestrA-COM-bound
Worker + Worker.Tests projects so the rest of the solution (Contracts, Server,
IntegrationTests, Tests) restores and builds cleanly on macOS / Linux.
The canonical solution on Windows remains ZB.MOM.WW.MxGateway.slnx; this file
is purely a developer-experience filter for non-Windows hosts. Use:
dotnet build src/ZB.MOM.WW.MxGateway.NonWindows.slnx
-->
<Configurations>
<Platform Name="Any CPU" />
<Platform Name="x64" />
<Platform Name="x86" />
</Configurations>
<Project Path="ZB.MOM.WW.MxGateway.Contracts/ZB.MOM.WW.MxGateway.Contracts.csproj" />
<Project Path="ZB.MOM.WW.MxGateway.IntegrationTests/ZB.MOM.WW.MxGateway.IntegrationTests.csproj" />
<Project Path="ZB.MOM.WW.MxGateway.Server/ZB.MOM.WW.MxGateway.Server.csproj" />
<Project Path="ZB.MOM.WW.MxGateway.Tests/ZB.MOM.WW.MxGateway.Tests.csproj" />
</Solution>