TypeLoadException
with a numeric token (instead of a type name) usually indicates that the assembly used at runtime is different from that used at compile time.
In the case of Xamarin.Forms, this usually means that you have different projects in your solution that link to different versions of Xamarin.Forms
make sure that all your projects are aligned in version and that you donβt have any obsolete ones lying around (do git clean -xfd
, or delete the packages
folder, restore nugets and make sure that there is only one XF version pulled from nuget.org)
source share