XamarinSignalRCore
XamarinSignalRCore copied to clipboard
Unable to find a constructor to use for type Microsoft.AspNetCore.Sockets.Client.HttpConnection
Hello,
I am trying to use Microsoft.AspNetCore.SignalR.Client in a Xamarin Forms project.
My android application work fine in Debug Mode.
But it doesn't work when i change (Android Options => Linking = "Sdk and User Assemblies" ).
Exception : Invalid negotiation response received. ---> Newtonsoft.Json.JsonSerializationException: Unable to find a constructor to use for type Microsoft.AspNetCore.Sockets.Client.HttpConnection+NegotiationResponse. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonConstructor attribute. Path 'connectionId', line 1, position 16.