我试图在可移植类库中使用System.Net.Sockets API,以便我的项目可以重用套接字连接的代码.但我不能在我的代码中引用该命名空间.
据我了解,PCL将您限制在所有目标平台上可用的程序集.但我的目标是ios,Android和.Net 4.5(使用Xamarin),所有这些都应该包含包含API的system.dll程序集.我错过了什么?
portable-class-library xamarin
portable-class-library ×1
xamarin ×1