drok / NetworkExtensions3

This is a reboot of the successful mod. From here, more of the content you love will continue to flow.
8 stars 6 forks source link

ReflectionTypeLoadException if harmony.api is present, but Harmony mod is not #13

Open drok opened 2 years ago

drok commented 2 years ago

Using mods with CitiesHarmony.API, if Harmony is not yet installed, this happens:

TFW: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0 
  at Transit.Framework.Mod.TransitModBase+<>c.<LoadModulesIfNeeded>b__42_0 (System.Reflection.Assembly a) [0x00000] in <filename unknown>:0