Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run Austin Json RPC in Xamarin anroid. #87

Closed
vadabala opened this issue Nov 5, 2017 · 6 comments · Fixed by #116
Closed

Unable to run Austin Json RPC in Xamarin anroid. #87

vadabala opened this issue Nov 5, 2017 · 6 comments · Fixed by #116

Comments

@vadabala
Copy link

vadabala commented Nov 5, 2017

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
Copy link
Owner

Astn commented Nov 6, 2017

I've never tested it on Xamarin Android.

Are you hosting a JsonRpc server on Android?

@vadabala
Copy link
Author

vadabala commented Nov 6, 2017 via email

@Astn
Copy link
Owner

Astn commented Nov 7, 2017

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.

@vadabala
Copy link
Author

vadabala commented Nov 8, 2017 via email

@Astn
Copy link
Owner

Astn commented Jan 4, 2018

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
Copy link
Owner

Astn commented Jan 6, 2018

This should be resolved by #90

@Astn Astn linked a pull request May 1, 2020 that will close this issue
@Astn Astn closed this as completed in #116 May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants