Releases: KSPModdingLibs/KSPBuildTools
Releases · KSPModdingLibs/KSPBuildTools
1.0.0-alpha.3
Msbuild
- Renamed global msbuild properties to have the
KSPBT_prefix to avoid namespace collisions with other frameworksKSPRootis nowKSPBT_GameRoot. It should no longer be referenced within a .csproj fileRepoRootPathis nowKSPBT_ModRoot, and should now point to the mod folder within GameData rather than the
root of a git repoBinariesOutputRelativePathis nowKSPBT_ModPluginFolderGenerateKSPAssemblyAttributeis nowKSPBT_GenerateAssemblyAttributeand defaults to trueGenerateKSPAssemblyDependencyAttributesis nowKSPBT_GenerateDependencyAttributesand defaults to trueReferenceUnityAssembliesis nowKSPBT_ReferenceUnityAssembliesReferenceKSPAssembliesis nowKSPBT_ReferenceGameAssemblies
- Added the
KSPBT_ReferenceSystemAssembliesproperty to control referencing the mono system DLLs within the KSP
managed folder. Setting this property to false will load the implicit framework DLLs instead. - Mod dependencies should now be declared with
ModReferenceitems. This avoids the need for the KSP install path to be known at evaluation time. - Only include Log.cs (or anything else in include/unity) when
KSPBT_ReferenceUnityAssembliesistrue(#61) - Fix
KSP_VERSION_MAXgetting mangled when using an existing version file (#64) - Fix incorrect behavior when building without a solution (#50)
Actions
- KSPBT actions used in reusable workflows are now pinned with each tag, instead of using actions from
main. All calls to reusable workflows should be pinned to a tag to ensure the correct actions are being used. (#21) compileaction: Usedotnet restoreinstead ofnuget restoreby default, allowing the action to work on any Ubuntu runner image. Added theuse-nuget-restoreoption to restore the previous behavior for projects that use packages.config for dependencies. (#68)compileaction: Removed call toactions/setup-dotnet. Setting up .NET should be done as a separate step. (#65)setup-ckanaction: Sped up execution by skipping recommended packages and man-db updatessetup-ckanaction: Addckan-install-methodoption for installation method. Currently supports'apt'for installation on Debian/Ubuntu, or'skip'to skip installation for runners that already have CKAN installed.assemble-releaseaction:outputs.artifact-pathnow includes the.zipextension (#51)
1.0.0-alpha.2
Msbuild
- Renamed global msbuild properties to have the
KSPBT_prefix to avoid namespace collisions with other frameworksKSPRootis nowKSPBT_GameRoot. It should no longer be referenced within a .csproj fileRepoRootPathis nowKSPBT_ModRoot, and should now point to the mod folder within GameData rather than the
root of a git repoBinariesOutputRelativePathis nowKSPBT_ModPluginFolderGenerateKSPAssemblyAttributeis nowKSPBT_GenerateAssemblyAttributeand defaults to trueGenerateKSPAssemblyDependencyAttributesis nowKSPBT_GenerateDependencyAttributesand defaults to trueReferenceUnityAssembliesis nowKSPBT_ReferenceUnityAssembliesReferenceKSPAssembliesis nowKSPBT_ReferenceGameAssemblies
- Added the
KSPBT_ReferenceSystemAssembliesproperty to control referencing the mono system DLLs within the KSP
managed folder. Setting this property to false will load the implicit framework DLLs instead. - Mod dependencies should now be declared with
ModReferenceitems. This avoids the need for the KSP install path to be known at evaluation time. - Only include Log.cs (or anything else in include/unity) when
KSPBT_ReferenceUnityAssembliesistrue(#61) - Fix
KSP_VERSION_MAXgetting mangled when using an existing version file (#64) - Fix incorrect behavior when building without a solution (#50)
Docs
- Fixed git submodule example to work even for tagged releases (#49)
Actions
- KSPBT actions used in reusable workflows are now pinned with each tag, instead of using actions from
main. All calls to reusable workflows should be pinned to a tag to ensure the correct actions are being used. (#21) compileaction: Usedotnet restoreinstead ofnuget restoreby default, allowing the action to work on any Ubuntu runner image. Added theuse-nuget-restoreoption to restore the previous behavior for projects that use packages.config for dependencies. (#68)compileaction: Removed call toactions/setup-dotnet. Setting up .NET should be done as a separate step. (#65)setup-ckanaction: Sped up execution by skipping recommended packages and man-db updatesassemble-releaseaction:outputs.artifact-pathnow includes the.zipextension (#51)
0.0.5
Several non-breaking bugfixes backported from the next development version
Docs
- Fixed git submodule example to work even for tagged releases (#49)
Build
- BACKPORT: Fix
KSP_VERSION_MAXgetting mangled when using an existing version file (#64)
Actions
- BACKPORT: KSPBT actions used in reusable workflows are now pinned with each tag, instead of using actions from
main. All calls to reusable workflows should be pinned to a tag to ensure the correct actions are being used. (#21)
1.0.0-alpha.1
Msbuild
- Renamed global msbuild properties to have the
KSPBT_prefix to avoid namespace collisions with other frameworksKSPRootis nowKSPBT_GameRoot. It should no longer be referenced within a .csproj fileRepoRootPathis nowKSPBT_ModRoot, and should now point to the mod folder within GameData rather than the
root of a git repoBinariesOutputRelativePathis nowKSPBT_ModPluginFolderGenerateKSPAssemblyAttributeis nowKSPBT_GenerateAssemblyAttributeand defaults to trueGenerateKSPAssemblyDependencyAttributesis nowKSPBT_GenerateDependencyAttributesand defaults to trueReferenceUnityAssembliesis nowKSPBT_ReferenceUnityAssembliesReferenceKSPAssembliesis nowKSPBT_ReferenceGameAssemblies
- Added the
KSPBT_ReferenceSystemAssembliesproperty to control referencing the mono system DLLs within the KSP
managed folder. Setting this property to false will load the implicit framework DLLs instead. - Mod dependencies should now be declared with
ModReferenceitems. This avoids the need for the KSP install path to be known at evaluation time. - Only include Log.cs (or anything else in include/unity) when
KSPBT_ReferenceUnityAssembliesistrue(#61) - Fix
KSP_VERSION_MAXgetting mangled when using an existing version file (#64) - Fix incorrect behavior when building without a solution (#50)
Docs
- Fixed git submodule example to work even for tagged releases (#49)
Actions
- KSPBT actions used in reusable workflows are now pinned with each tag, instead of using actions from
main. All calls to reusable workflows should be pinned to a tag to ensure the correct actions are being used. (#21) compileaction: Usedotnet restoreinstead ofnuget restoreby default, allowing the action to work on any Ubuntu runner image. Added theuse-nuget-restoreoption to restore the previous behavior for projects that use packages.config for dependencies. (#68)compileaction: Removed call toactions/setup-dotnet. Setting up .NET should be done as a separate step. (#65)setup-ckanaction: Sped up execution by skipping recommended packages and man-db updatesassemble-releaseaction:outputs.artifact-pathnow includes the.zipextension (#51)
0.0.4
Library
- Added a logging utility for use by mods
Actions
compilenow usesdotnet msbuildto build the project- Dotnet compiler version can be specified in the
compileoptions
Build
- Fixed several places in KSPCommon.targets that didn't check for empty values properly
- Support all forms of version numbers
- KSPAssembly and KSPAssemblyDependency may optionally be major.minor (omitting patch)
- KSPVersionFile.Version now defaults to $(FileVersion) if not set, which should support any number of elements
- ProjectReference may now include which will generate a
KSPAssemblyDependencyattribute - Added
ReferenceUnityAssembliesandReferenceKSPAssembliesfor disabling the automatic inclusion of Unity and KSP assembly references - Prevented automatic inclusion of mscorlib from nuget on some compiler versions
0.1.0-alpha.1
Msbuild
- Renamed global msbuild properties to have the
KSPBT_prefix to avoid namespace collisions with other frameworksKSPRootis nowKSPBT_GameRoot. It should no longer be referenced within a .csproj fileRepoRootPathis nowKSPBT_ModRoot, and should now point to the mod folder within GameData rather than the
root of a git repoBinariesOutputRelativePathis nowKSPBT_ModPluginFolderGenerateKSPAssemblyAttributeis nowKSPBT_GenerateAssemblyAttributeand defaults to trueGenerateKSPAssemblyDependencyAttributesis nowKSPBT_GenerateDependencyAttributesand defaults to trueReferenceUnityAssembliesis nowKSPBT_ReferenceUnityAssembliesReferenceKSPAssembliesis nowKSPBT_ReferenceGameAssemblies
- Added the
KSPBT_ReferenceSystemAssembliesproperty to control referencing the mono system DLLs within the KSP
managed folder. Setting this property to false will load the implicit framework DLLs instead. - Mod dependencies should now be declared with
ModReferenceitems. This avoids the need for the KSP install path to be known at evaluation time.
0.0.3-alpha.4
- Added a logging utility for use by mods
- Fixed several places in KSPCommon.targets that didn't check for empty values properly
- Support all forms of version numbers
- KSPAssembly and KSPAssemblyDependency may optionally be major.minor (omitting patch)
- KSPVersionFile.Version now defaults to $(FileVersion) if not set, which should support any number of elements
- ProjectReference may now include which will generate a
KSPAssemblyDependencyattribute - Added
ReferenceUnityAssembliesandReferenceKSPAssembliesfor disabling the automatic inclusion of Unity and KSP assembly references
0.0.3-alpha.3
- Added a logging utility for use by mods
- Fixed several places in KSPCommon.targets that didn't check for empty values properly
- Support all forms of version numbers
- KSPAssembly and KSPAssemblyDependency may optionally be major.minor (omitting patch)
- KSPVersionFile.Version now defaults to $(FileVersion) if not set, which should support any number of elements
- ProjectReference may now include which will generate a
KSPAssemblyDependencyattribute
0.0.3-alpha.2
Actions
- Made
compilestep ofcreate-releaseconditional based on theuse-msbuildinput
Build
- Fixed directories not being copied to output (#38)
- Fixed error when
GenerateKSPAssemblyAttributeis unset