Astn/JSON-RPC.NET

System.TypeInitializationException

jbreens opened this issue · 4 comments

Hi,

Recently started new project, first time running JSON-RPC service, (fresh dev environment) I get a System.TypeInitializationException when calling JsonRpcService base constructor. Specifically at bindservice. See attached screenshot.

JB
capture

Hey guys, just tried to uninstall and re-install the nuget packets. Can confirm I get this exception when calling the base constructor even after re-installation.

I manually grabbed the nuget packets (which show the same version number) from an older project, and now it's fine.

Astn commented

Thanks for reporting the issue! Hopefully just a Nuget issue. I'll check it out.

Astn commented

Which framework version is your project?

Astn commented

I've just tested this on 3 new projects 4.0, 4.5, 4.6.1, and the nugget I published last night does not have this issue. So #74 did fix it.