markolazic88 / SwipeCardView

MIT License
173 stars 38 forks source link

Issue #3

Closed KingAndroid closed 5 years ago

KingAndroid commented 6 years ago

If we use it using package manager, we will get this issue.

System.TypeLoadException: Could not resolve type with token 01000030 (from typeref, class/assembly Xamarin.Forms.Internals.ResourceLoader, Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null)
markolazic88 commented 6 years ago

It seems that this issue occurs when you are referencing multiple versions of the same library. For more info read here. If I would have to guess, you had multiple versions of Xamarin Forms referenced, possibly because SwipeCardView uses version 2.3.4.224, while you are referencing 2.3.5 from your code.

I just updated SwipeCardView to reference Xamarin Forms 2.5.0.91635 and packed it in version 1.1.0. You can find the new package at https://www.nuget.org/packages/MLToolkit.Forms.SwipeCardView/1.1.0

markolazic88 commented 5 years ago

Most likely this issue was not related to the library directly. I am closing the issue since I was never able to reproduce it, and because SwipeCardView is referencing Xamarin.Forms 3.0 now.