I'm having issues with a PCL class library which I am attempting to share between an iOS and Android application.
The iOS version was developed first, using Xamarin Studio on a Mac, and is running fine (release to the App Store etc). The Android version is currently under development, using Visual Studio 2015 on Windows 10, and references the same PCL project.
When I pulled the shared project from Git it initially failed to build because the Json.NET didn't seem to want to restore - so I did it manually (removed and re-added) and all appeared well. However, when I pushed the project back to Git my Jenkins CI reported that the iOS version of the app was broken - the Json.NET component could not be found!
Looking at the packages.config file for the shared project I can see that the referenced package required to get each of the projects to build is different:
<package id="Newtonsoft.Json" version="8.0.2" targetFramework="portable45-net45+win8+wp8" />
<package id="Newtonsoft.Json" version="8.0.2" targetFramework="portable-net45+win+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10" />
The question is, why the difference and how do I proceed?