Skip to content
This repository was archived by the owner on Jan 5, 2025. It is now read-only.
This repository was 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

@drok

Description

@drok

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 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions