I want to use the TcpSocketClient in my Xamarin.Forms project with a PCL and native iOS/Android projects.
When I'm trying to use the TcpSocketClient and use the ConnectAsync(IP, Port) method, it throws a System.TypeInitializationException with the Message The type initializer for 'Sockets.Plugin.Abstractions.Resources.ServiceNames' threw an exception. and the InnerException An item with the same key has already been added..
Does someone face similar issues? I simply added the package rda.SocketsForPCL in Version 2.0.2 to the PCL project and the iOS/Android project.
I want to use the TcpSocketClient in my Xamarin.Forms project with a PCL and native iOS/Android projects.
When I'm trying to use the TcpSocketClient and use the
ConnectAsync(IP, Port)
method, it throws aSystem.TypeInitializationException
with the MessageThe type initializer for 'Sockets.Plugin.Abstractions.Resources.ServiceNames' threw an exception.
and the InnerExceptionAn item with the same key has already been added.
.Does someone face similar issues? I simply added the package rda.SocketsForPCL in Version 2.0.2 to the PCL project and the iOS/Android project.
Would be very thankful if someone could help me.