Skip to content

Commit 0488e41

Browse files
authored
update documentation for opting out of assembly references
1 parent 9e172df commit 0488e41

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/msbuild/properties.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,10 @@ If set to `true`, automatically generates the `KSPAssembly` for your assembly fr
3636
If set to `true`, automatically generates `KSPAssemblyDependency` attributes for each dependency. Dependencies should have either the `CKANIdentifier` metadata or `KSPAssemblyName` metadata. Versions can be supplied with `CKANVersion` or `KSPAssemblyVersion`.
3737
```
3838

39+
```{confval} ReferenceUnityAssemblies
40+
If set to `true` (default), adds assembly references to all UnityEngine assemblies in the KSP install. You can set this to `false` to opt out of this behavior if you want to create a pure C# assembly that does not depend on Unity.
41+
```
42+
43+
```{confval} ReferenceKSPAssemblies
44+
If set to `true` (default), adds references to Assembly-CSharp and Assembly-CSharp-firstpass assemblies from the KSP install. You can set this to `false` to opt out of this behavior.
45+
```

0 commit comments

Comments
 (0)