Astn/JSON-RPC.NET

Unable to run Austin Json RPC in Xamarin anroid.

vadabala opened this issue · 6 comments

Error: Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'AustinHarris.JsonRpc, Version=1.1.70.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?

Do we have support for Xamarin android?

Astn commented

I've never tested it on Xamarin Android.

Are you hosting a JsonRpc server on Android?

Astn commented

If your platforms IOS, MacOS, Android and Windows are all acting as Json-Rpc clients that connect to your Web Socket Server (Windows?) then the simplest solution would be to only use this library Json-Rpc.Net for the Web Socket Server. If you need a client library, there is a class here: (https://github.com/Astn/JSON-RPC.NET/blob/master/AustinHarris.JsonRpc.Client/client.cs) that you could copy into your project and make any adjustments needed to get it to compile. Alternatively there are quite a few json-rpc clients available out there, and you could opt to use Json-rpc.net only for the server side.

Astn commented

My best guess for you would be to try building a custom version of Json-rpc.net that references the version of the Json library that works on IOS.
If you do figure this out, feel free to submit a pull request.

Astn commented

This should be resolved by #90