Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

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

Open
drok opened this issue Feb 8, 2022 · 0 comments

Comments

@drok
Copy link
Owner

drok commented Feb 8, 2022

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 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant