Skip to content

Releases: KSPModdingLibs/KSPBuildTools

0.1.0-alpha.1

06 Aug 06:18
Compare
Choose a tag to compare
0.1.0-alpha.1 Pre-release
Pre-release

Msbuild

  • Renamed global msbuild properties to have the KSPBT_ prefix to avoid namespace collisions with other frameworks
    • KSPRoot is now KSPBT_GameRoot. It should no longer be referenced within a .csproj file
    • RepoRootPath is now KSPBT_ModRoot, and should now point to the mod folder within GameData rather than the
      root of a git repo
    • BinariesOutputRelativePath is now KSPBT_ModPluginFolder
    • GenerateKSPAssemblyAttribute is now KSPBT_GenerateAssemblyAttribute and defaults to true
    • GenerateKSPAssemblyDependencyAttributes is now KSPBT_GenerateDependencyAttributes and defaults to true
    • ReferenceUnityAssemblies is now KSPBT_ReferenceUnityAssemblies
    • ReferenceKSPAssemblies is now KSPBT_ReferenceGameAssemblies
  • Added the KSPBT_ReferenceSystemAssemblies property 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
    ModReference items. This avoids the need for the KSP install path to be known at evaluation time.

0.0.4

15 Jun 05:09
Compare
Choose a tag to compare

Library

  • Added a logging utility for use by mods

Actions

  • compile now uses dotnet msbuild to build the project
  • Dotnet compiler version can be specified in the compile options

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 KSPAssemblyDependency attribute
  • Added ReferenceUnityAssemblies and ReferenceKSPAssemblies for disabling the automatic inclusion of Unity and KSP assembly references
  • Prevented automatic inclusion of mscorlib from nuget on some compiler versions

0.0.3-alpha.4

19 Feb 22:07
87c4c79
Compare
Choose a tag to compare
0.0.3-alpha.4 Pre-release
Pre-release
  • 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 KSPAssemblyDependency attribute
  • Added ReferenceUnityAssemblies and ReferenceKSPAssemblies for disabling the automatic inclusion of Unity and KSP assembly references

0.0.3-alpha.3

07 Feb 20:49
Compare
Choose a tag to compare
  • 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 KSPAssemblyDependency attribute

0.0.3-alpha.2

07 Feb 18:22
Compare
Choose a tag to compare

Actions

  • Made compile step of create-release conditional based on the use-msbuild input

Build

  • Fixed directories not being copied to output (#38)
  • Fixed error when GenerateKSPAssemblyAttribute is unset

0.0.3

16 Dec 09:35
Compare
Choose a tag to compare

Actions

  • Made compile step of create-release conditional based on the use-msbuild input

Build

  • Fixed directories not being copied to output (#38)
  • Fixed error when GenerateKSPAssemblyAttribute is unset

0.0.1-alpha.0

03 Sep 14:54
32a9d13
Compare
Choose a tag to compare
0.0.1-alpha.0 Pre-release
Pre-release

Tag to reset nuget versions messed up by commit squashing