How can I configure Rhino8 with Rider?
The official tutorial ( https://developer.rhino3d.com/guides/rhinocommon/your-first-plugin-mac/ ) provides instructions for VS Code, but I need help adapting it to Rider. I’ve tried multiple times and failed. Is there a working method?
Please sign in to leave a comment.
Hello,
Thank you for contacting Rider support.
First, due to a lack of a dedicated plugin for Rider, simulating plugin installation to Rhino requires extra steps.
Here is how I was able to make the sample plugin project work from Rider.
dotnet new rhino --version 8 -sample
, go to <Project>/Properties/launchSettings.json and remove the comma “,” at line 18;Adjust the existing "Rhino 8 - netcore" profile or make a new one. Watch the screenshot for reference. Note: I am on Mac, the path on Windows will point to Rhino.exe, similar as in default profiles:
Go to Run | Edit Configurations and make a “Publish To Folder” run configuration as per below screenshot:
Find the .NET Launch Settings Profile run configuration you are going to run from Rider in the list and set Runtime to .NET / .NET Core:
Save changes. Now you can run the publish configuration to “install the plugin to Rhino”, then launch it from Rider via Run/Debug using the corresponding launch settings profile:
To make it work in one click, you can create a Multi-Launch run configuration that “installs” the newly built plugin (publishes, replacing the previously published binaries) and then launches the Rhino application. See the below screenshot for reference:
Hope that helps.
Have a nice day!
Got it! Thanks a lot!