Skip to content

Update build system to use KSPBuildTools#144

Merged
Phantomical merged 2 commits intoKSPModStewards:masterfrom
Phantomical:update-build-system
Apr 21, 2026
Merged

Update build system to use KSPBuildTools#144
Phantomical merged 2 commits intoKSPModStewards:masterfrom
Phantomical:update-build-system

Conversation

@Phantomical
Copy link
Copy Markdown
Contributor

This converts the whole build system over to using KSPBuildTools. I haven't taken a look at CI yet, so I don't necessarily expect that to pass at the moment.

Some notes:

  • AssemblyFileVersion is now 0.8.2 instead of 1.0.0.0 because there's no other way to set the KSPAssembly version through KSPBT
  • The pdb and xml docs are now also emitted to GameData/SystemHeat/Plugins, though they are gitignored

I have left the dll committed to the repo because I don't understand what CI is doing just yet. Once I have a better idea I will remove it.


<FileVersion>$(Version)</FileVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyInformationalVersion>$(Version)</AssemblyInformationalVersion>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably just remove these?

Copy link
Copy Markdown
Contributor Author

@Phantomical Phantomical Apr 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am unclear if changing the assembly version will cause issues. (it definitely will if any dependents are using KSPBurst, but I don't think that's an issue).

I'm inclined to leave this as-is for consistency with the old version.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't the old version 0.1.0.0?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW you can leave all this stuff in AssemblyInfo.cs, if nothing else for continuity sake. Just remove any lines that are generated from KSPBT

Comment thread SystemHeat/SystemHeat/SystemHeat.csproj Outdated
@Phantomical Phantomical merged commit 24b3486 into KSPModStewards:master Apr 21, 2026
1 check failed
@Phantomical Phantomical deleted the update-build-system branch April 21, 2026 20:15
Comment thread .gitignore
GameData/SystemHeat/Parts/@thumbs

# KSPBuildTools / SDK-style build
/*.props.user
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably be *.user

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll make a follow-up PR to fix that.

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.

2 participants