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

Jswan / newtonsoft #12

Open
lelandjobson opened this issue Mar 13, 2022 · 1 comment
Open

Jswan / newtonsoft #12

lelandjobson opened this issue Mar 13, 2022 · 1 comment

Comments

@lelandjobson
Copy link

lelandjobson commented Mar 13, 2022

Hey Andrew,

I'm on a fresh machine and put jswan on to do some things - it and elefront are the only libs I have on here - and when starting GH I get in the rhino command line:

An error occured during GHA assembly loading:
  Path: C:\Users\Leland\AppData\Roaming\Grasshopper\Libraries\jswan_0.gha
  Exception System.IO.FileNotFoundException: 
  Message: Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

Should jswan be able to operate without a newtonsoft dll? If so, perhaps it has been working for users thus far since newtonsoft is super popular and probably lives in their library folders anyway? unsure!

for the record its RH7

@Alebrew
Copy link

Alebrew commented Dec 11, 2022

I was having exactly the same issue (only difference was having Windows 11 installed on the fresh PC throwing the error)

Go to https://github.com/JamesNK/Newtonsoft.Json/releases/tag/13.0.2 and download [Json130r2.zip]
After that you can extract the ZIP, open the folder and go to:

Bin -> net45 -> copy the Newtonsoft.Json.dll to the Grasshopper libraries folder on the same location of the Jswan GHA file.

If it doesn't work, you can try running the same steps on an older version by going to the version releases in the first link of this post.

Hope that helps.

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

No branches or pull requests

2 participants