`KSPe.Util.SystemTools.Assembly.Loader<T>()` to cope with TweakScale Companion directory structure.
Lisias opened this issue · 2 comments
Lisias commented
Before internalising KSPe.Util.SystemTools.Assembly.Loader(string)
, I need to instrument KSPe.Util.SystemTools.Assembly.Loader<T>()
to cope with the multilevel directory structure used by the TweakScale Companions, as used by
- https://github.com/net-lisias-ksp/TweakScaleCompanion_Legacy
- https://github.com/net-lisias-ksp/TweakScaleCompanion_FS
and others.
Se the Startup
class on the main project.
Lisias commented
A new attribute called NamespaceAsDirectories
, a bool
, was added to the Version
metaclass. Default to false
.
When true
, the namespace is converted into a pathname to be used on resolving the add'on's home directory.