Forum Xamarin Cross Platform with Xamarin

Trying to add System.Net into project, nowhere to be found (iOs or Android project)

Hi,

newbie question, I'm using shared code between an Android and iOs (migrating some code from silverlight) and I need to use some types that exist in System.Net assembly but I cannot find that assembly anywhere (when I try to add it in the references).

Am I missing something? Is System.Net not a part of the mono API?

I have the latest Xamarin installed (trial version), my minimum Android to target is set to 4.0.

Thanks and sorry if this a stupid question, regards,

L- Pinho

Posts

  • rjmrjm CAMember ✭✭✭

    I think the System.Net namespace lives inside System.dll.

    Make sure you have using System.Net

  • lpinholpinho USMember ✭✭

    Yep, you're right, System.Net.dll doesn't exist but I can still use it using System.Net, but there are some types missing (DnsEndPoint, UdpAnySourceMulticastClient, etc).

    I'm looking for replacements :)

    Thanks for your help

Sign In or Register to comment.