KSP-ModularManagement / KSPe

Extensions and utilities for Kerbal Space Program
http://ksp.lisias.net/add-ons/KSPAPIExtensions
Other
11 stars 5 forks source link

Revise the Assembly Utils. #66

Open Lisias opened 9 months ago

Lisias commented 9 months ago

On https://github.com/TweakScale/TweakScale/issues/312#issuecomment-1830269105 , one KSP idiosyncrasy was finally diagnosed:

there is one difference between System.AppDomain.CurrentDomain.GetAssemblies() and the AssemblyLoader's list - and it comes into play when a hard-referenced dependency wasn't found (i.e. the cases where you remove 999_scale_redist). In that case, the Scale.dll assembly will NOT be in the AssemblyLoader's list but it WILL be in the System.AppDomain.CurrentDomain.GetAssemblies() list. I think this explains some of the differences you see, depending on other mods that might be using one of these or the other.

Tasks:

Lisias commented 5 months ago

This thing may also be related (or affected) by #56.