MSBuild Properties
- KSPRoot
This property should be set to the root directory of your KSP install. You should not set this in your csproj, see Locating your KSP Install
- RepoRootPath
- Default:
$(SolutionDir)
specifies the root directory of your mod repository. Generally you’ll want to set this to be relative to the csproj file using
$(MSBuildThisFileDirectory).
- BinariesOutputRelativePath
- Default:
GameData/$(SolutionName)
the directory where compiled binaries should be copied. This is relative to the
RepoRootPath. The binaries will be copied to this directory after each build.
- CKANCompatibleVersions
- Default:
1.12 1.11 1.10 1.9 1.8
Used by the
CKANInstalltarget to set additional KSP versions to treat as compatible when installing
- GenerateKSPAssemblyAttribute
If set to
true, automatically generates theKSPAssemblyfor your assembly from theVersionproperty.
- GenerateKSPAssemblyDependencyAttributes
If set to
true, automatically generatesKSPAssemblyDependencyattributes for each dependency. Dependencies should have either theCKANIdentifiermetadata orKSPAssemblyNamemetadata. Versions can be supplied withCKANVersionorKSPAssemblyVersion.