Forum Visual Studio
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

How to add neutral packages to PCL project?

Hey there.
I've been trying to consume a WCF Web Service in my portable project. So far I've found out that I need to add a few assembly references to do so.

Now, I'm suppose to add a reference to System.Runtime.Serialization and to System.ComponentModel.Web (I'm not sure about this last one, but, anyway)

So, as far as I know, I should go to the References folder, right-click it, and "Edit References..."
There is no items at all in the list for the portable project (including the mentioned one, of course)

This does work when I try it in the .iOS or .Droid project. Do I have to add it there, and then wrap them in an interface? If that is the case, I've heard of it, but I don't know how to do it, could you provide some material for studying?
I'm not convinced that it would be the case, because I've downloaded the TodoWCF material-source and in that solution the portable project does have a reference to System.Runtime.Serialization - I just don't understand how they managed to do it (without cheating)



Sign In or Register to comment.