![]() ![]() I found a post here which suggested a fix that forced Visual Studio to detec the Monotouch (Xamarin) framework as supporting Portable Library Projects. Strange - as I thought this would be a scenario that would be supported. 'The current project does not support references to Portable Library projects'. When I first added a reference to my model class library to my Xamarin.iOS project (in Visual Studio), I was greeted by the error: My initial assumption was that I would be able to utilise this model library as I do with the other projects - however, I've since realised this this isn't the case. However, I've recently started experimenting with Xamarin - specifically the iOS functionality (with a view to moving onto Android later). ![]() This architecture works fine and without any issues. I've currently built a service layer and API which I'm consuming from an ASP.NET website, Windows Phone app, and a Windows 8 metro app - the key to all of them being a project containing model classes which is a portable class library project, and is shared as a reference between all of them.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |