TypeLoadException with dependency free fork
Posted: Tue Jul 02, 2013 6:11 am
Hiya,
I downloaded the dependency free fork yesterday. It builds nicely, but when I try to initialize a new Space(), it throws a TypeLoadException. It says that loading EntityStateChange from the assembly failed. I noticed an old post depicting the same problem and the solution back then was to change the assembly name to something else, but it didn't help. I also tried both 32-bit and 64-bit builds to no avail. Any ideas?
Edit: Whoops, noticed that the exception differs between 32-bit and 64-bit builds. In the case of 32-bit, it's BadImageFormatException.
Edit 2: I managed to fix the 32-bit problem. I had to change my own project's platform target to x86, instead of using "Any CPU".
I downloaded the dependency free fork yesterday. It builds nicely, but when I try to initialize a new Space(), it throws a TypeLoadException. It says that loading EntityStateChange from the assembly failed. I noticed an old post depicting the same problem and the solution back then was to change the assembly name to something else, but it didn't help. I also tried both 32-bit and 64-bit builds to no avail. Any ideas?
Edit: Whoops, noticed that the exception differs between 32-bit and 64-bit builds. In the case of 32-bit, it's BadImageFormatException.
Edit 2: I managed to fix the 32-bit problem. I had to change my own project's platform target to x86, instead of using "Any CPU".