I’ve installed trial version of MonoTouch, and I’m evaluating it for use.
This strange error has occurred:
Could not load ‘MyProductName’ for registration. This could be due to
an outdated assembly kept by the simulator, location: /PathToMyProduct
Followed by:
A type load exception has occurred.
My guess is that, somehow some assembly is not up to date. So I’ve tried to remove it from the given path. But still it’s there. So I performed a purge (reinstalled MonoTouch, removed binary build path, in simulator path, uninstalled from simulator, reset simulator, and finally restarted the OSX). But still it’s there.
Any hints on how to solve this peculiar problem?
regards,
Kate
So after a sleepless night and 24 hour streak, I’ve finally figured it out! There was an abstract class, and this descendant class doesn’t implemented its method. So whenever this class was mentioned in a code, it caused a type load exception. There was no warning in MonoDevelop, it compiled fine, it run fine, it crashed terribly. That’s madness! I’ve implemented the override on this abstracted method, and voilà, it now works as nothing happened. This is possibly a MonoDevelop error, but it also could be in some special iPhone compiler. So be aware of that. This is a simplied situation:
Now later on descendant class:
Maybe it’s a known behavior or limitation. But still madness.
I’m going to sleep now…