Is it possible to add a shared project to an existing solution which already has platform-specific implementations? The only template available is a multi-project template which also creates new iOS, Android and Windows Phone projects
I'm guessing you're trying from Visual Studio, right? I've needed to do this in the past and have ended up jumping over to Xamarin Studio and doing it from there, where you get Shared Project listed as a template option when adding a new project.
Note that you'll also have to add references to your shared project from Xamarin Studio as well, before jumping back to Visual Studio.
Spot on Alec, thank you!
Here's where I found the option, for anyone wondering:
Hi - I created a cross platform Xaml solution but I cannot add shared project to this solution that I can write my Data Access classes. Do I need to create a separate solution as Shared Project for Data Access Classes and reference them?
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies