arendvw / ScriptParasite

A component that allows editting of C# definitions in external editors
21 stars 5 forks source link

Doesn't work for Mac (R7, Big Sur) #10

Closed JackLiu00521 closed 3 years ago

JackLiu00521 commented 3 years ago

Hi arendvw,

The plugin works awesome when I develop on PC and really save the day (big thanks!) However, when I try it on Mac, it doesn't work, and the warning message shows "Solution exception:Value cannot be null. Parameter name: objectToConvert"

image

https://discourse.mcneel.com/t/c-scripteditor-is-still-a-pain-everywhere/64379/103 I have tried both methods you mentioned here, but none of them work for me : ( Is there any clue to fix it? I'm using Rhino7(7.9.21222) on macOS Big Sur, with ScriptParasite 1.1.1 (from PackageManager).

Also, I'm willing to test any solution if there's no Mac available for you. Thank you again for developing such a nice tool for the community! 😀

arendvw commented 3 years ago

Hi JackLui,

This is a bug due to the script editor being changed in Mac OSX

I've published ScriptParasite 1.1.2 for mac, this should resolve the issue for Rhino for Mac 7

ScriptParasite-1.1.2.zip

Does this work for you?

JackLiu00521 commented 3 years ago

Yes! It works perfectly right now!

Thanks for your quick support 🙌

Cheers!

arendvw commented 3 years ago

Awesome!

JackLiu00521 commented 3 years ago

Haha, originally I struggled for a while that I can't use autocomplete in VS Code with files from my PC.

Then I noticed you also refreshed the reference location for Mac in .csproj when I regenerate files through Mac.

Now it works, fantastic!!! 🤩