Skip to content

Build StarMap as AnyCPU - #104

Open
renancamm wants to merge 1 commit into
StarMapLoader:feature/external/pr-104-build-release-anycpufrom
renancamm:build/release-anycpu
Open

renancamm wants to merge 1 commit into
StarMapLoader:feature/external/pr-104-build-release-anycpufrom
renancamm:build/release-anycpu

Conversation

@renancamm

Copy link
Copy Markdown

Hey @KlaasWhite, this is the PR to make StarMod compatible with a native KSA on a MacOS.
Let me know if anything isn't clear.

The DLLs carry no native code, but the AMD64 mark from PlatformTarget x64 makes .NET on arm64 (MacOS) refuse them. Set AnyCPU in the three projects, so local builds, PR builds, the release and the StarMap.API package all match. The explicit value is needed: without it, -r win-x64 marks StarMap.dll AMD64 again. The win-x64 StarMap.exe is still built.

The DLLs carry no native code, but the AMD64 mark from PlatformTarget x64
makes .NET on arm64 refuse them. Set AnyCPU in the three projects, so local
builds, PR builds, the release and the StarMap.API package all match. The
explicit value is needed: without it, -r win-x64 marks StarMap.dll AMD64
again. The win-x64 StarMap.exe is still built.
@github-actions
github-actions Bot changed the base branch from main to feature/external/pr-104-build-release-anycpu November 2, 2026 23:46

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant