zyanfx / Zyan

:gem: Zyan Communication Framework
http://zyan.com.de
MIT License
88 stars 38 forks source link

Could not add Zyan package to Xamarin.Android project #64

Closed raminmjj closed 4 years ago

raminmjj commented 4 years ago

Hi. in Nuget package manager I've got this error: "Could not install package 'Zyan.SafeDeserializationHelpers 0.5.0'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information" what's the problem? I set target version to 8.1 but I got the same message.

yallie commented 4 years ago

Hi @raminmjj

You're right, SafeDeserializationHelpers package don't have a MonoAndroid target. I think that .NET v3.5 version should work for Xamarin, so let's see if it works.

I've published a new version of SafeDeserializationHelpersPackage with Android target: https://www.nuget.org/packages/Zyan.SafeDeserializationHelpers/0.5.1

Although I don't use Xamarin for a few years now, so I'm not sure I can test it, sorry. Please update the package reference in your project and report back if it works for you.

raminmjj commented 4 years ago

Hi @yallie the new package worked. thank you.