Skip to content

Update build system to use KSPBuildTools#375

Merged
Phantomical merged 6 commits into
KSPModdingLibs:devfrom
Phantomical:update-build-system
May 12, 2026
Merged

Update build system to use KSPBuildTools#375
Phantomical merged 6 commits into
KSPModdingLibs:devfrom
Phantomical:update-build-system

Conversation

@Phantomical
Copy link
Copy Markdown
Collaborator

Adding new files by hand is a bit of a pain, and the old version doesn't work until you build it with Visual Studio once. KSPBuildTools + a modern sdk-style project file allows us to avoid these problems.

Overall changes:

  • The project version is now defined by the version in KSPCommunityFixes.csproj. Everything else is now generated from this.
  • KSPBuildTools is now used to find KSP assemblies and generate most of the dependency attributes.
  • LangVersion has been bumped to C# 12

Everything else behaviour-wise should still be the same.

@Phantomical Phantomical merged commit 379b894 into KSPModdingLibs:dev May 12, 2026
1 check passed
@Phantomical Phantomical deleted the update-build-system branch May 12, 2026 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant