Add multi-platform publishing support with single-file, self-contained deployment options

This commit is contained in:
Jordan Wages 2026-08-19 14:20:45 -05:00
commit 91d7c8116e

View file

@ -7,6 +7,34 @@
<RootNamespace>cs_mic_mcp</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<RuntimeIdentifiers>
linux-x64;linux-arm64;win-x64;osx-x64;osx-arm64
</RuntimeIdentifiers>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
</PropertyGroup>
<Target Name="PublishAll">
<MSBuild
Projects="$(MSBuildProjectFullPath)"
Targets="Publish"
BuildInParallel="true"
Properties="
Configuration=Release;
RuntimeIdentifier=%(ReleaseRid.Identity);
PublishDir=$(MSBuildProjectDirectory)/bin/Publish/%(ReleaseRid.Identity)/" />
</Target>
<ItemGroup>
<ReleaseRid Include="linux-x64" />
<ReleaseRid Include="linux-arm64" />
<ReleaseRid Include="win-x64" />
<ReleaseRid Include="osx-x64" />
<ReleaseRid Include="osx-arm64" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CapyKit" Version="1.0.4" />
<PackageReference Include="CSMic" Version="2.1.0" />