XamarinSignalRCore icon indicating copy to clipboard operation
XamarinSignalRCore copied to clipboard

Unable to find a constructor to use for type Microsoft.AspNetCore.Sockets.Client.HttpConnection

Open MohamedBnSaid opened this issue 7 years ago • 0 comments

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. exception

MohamedBnSaid avatar Jan 03 '18 10:01 MohamedBnSaid