Synae
Issue with dynamic
It throws the exception way before that.
I tried debugging lines before the one that uses
dynamic
and those debugs don't even get executed, as if it's throwing as soon as it enters the method that's gonna do all that.
According to https://learn.microsoft.com/en-us/dotnet/api/system.typeloadexception
The exact timing of when statically referenced types are loaded is unspecified. This exception may be thrown before the method that references the missing type starts executing.
28 replies
Issue with dynamic
There are actually a few methods I'm calling with that enum as a parameter (which I'm currently retrieving each week, and updating the mod with the new name).
I'd rather not have to use reflection for all of them.
Thank you anyway for that idea though, I really didn't think about it for some reason.
28 replies
Issue with dynamic
My issue is that the type of the enum changes with every update and I'm just trying to make it so that I don't have to update my mod every week just because of that.
So I'm trying to find a way to retrieve and use it programmatically.
Also, that method is in the other assembly as well.
28 replies