Failed to resolve type with token 0100000f

I get this error when starting ios in xamarin . How can i solve this?

System.TypeLoadException: Failed to resolve type with token 0100000f

 [Register("AppDelegate")] public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate { public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); LoadApplication(new App()); return base.FinishedLaunching(app, options); } } 
+6
source share
1 answer

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)

+17
source

Source: https://habr.com/ru/post/1013185/


All Articles