Could not resolve type with token 0100000f

后端 未结 1 540
死守一世寂寞
死守一世寂寞 2020-12-10 11:49

I get this error when running ios in xamarin forms. How can I resolve this?

System.TypeLoadException: Could not resolve type

相关标签:
1条回答
  • 2020-12-10 12:12

    The TypeLoadException with a number token (instead of a type name) usually indicates that the assembly used at runtime is different than the one used at compile time.

    In the Xamarin.Forms case, that usually means you have different projects in your solution referencing different versions of Xamarin.Forms

    make sure all of your projects are aligned in version, and that you do not have stale ones lying around (do a git clean -xfd, or remove the packages folder, restore the nugets, and make sure there's only one XF version pulled from nuget.org)

    0 讨论(0)
提交回复
热议问题