So I am using Xamarin to create an Android App. All the android "stuff" will be in the Android project and I have created a Shared Project to house the business logic, so that I will be able to use it should I have to create an IOS app.
I have successfully referenced the Shared Project from the Android project - so far so good. So my Database code is in the shared project ready for any platform to use.
My app needs to connect to a webservice, so I wanted to house all that in the Shared Project but there seems to be no way to add references (web or otherwise) to a shared project - is this correct? surely it can't be or I wouldn't be able to use JSON.net in the Shared project or anything else that requires a reference to an external DLL...? Which would result in me duplicating any code like this multiple times, once in each platform.
Surely I am missing something here - any Google search returns how to reference a shared project from another project...Not what I need.
So the question is, can I add references in a Shared Project to a web service/3rd party DLL, if so, how do I do it?
Thanks for any help.