Cannot import EMDK for Xamarin as nuget package (error NU1202)

Hi everyone,

I'm trying to import EMDK to my .net project by using the NuGet package manager, but everytime I do so, I get this error :

Package Symbol.XamarinEMDK 3.0.0.41 is not compatible with netstandard2.0 (.NETStandard,Version=v2.0). Package Symbol.XamarinEMDK 3.0.0.41 supports: monoandroid (MonoAndroid,Version=v0.0)

My current VS version is VS 2017 15.9.7 (latest release). I saw on one of the installation pages for EMDK that it supports up to VS 2017 15.5.

Could anybody confirm that is also works with 15.9.7 or at least a more recent version than 15.5 ?

Thanks a lot for your time and help.

It seems you are using Xamarin Forms and you are trying to install the package under the XF project.

You have to install it under Xamarin.Android project

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Hi Alessandro,

Thanks a lot for your answer.

Indeed, I was trying to install the package under the XF project because I was hoping to use it on the iOS port as well.

I guess I got carried away and thought that the EMDK would be usable for IOS as well.

Again, thank you for helping me !

Regards

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


I've found that I got this error if I tried to install the nuget package on anything other than the android device project. It seems that even though they market it as a "Xamarin Forms" solution, it's really only for xamarin.Android.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’