Question
The official tutorial provides instructions for VS Code, but not for Rider. How to make it work in Rider? How to launch Rhinoceros from Rider together with a plugin developed. + Debug
Answer
First, due to a lack of a dedicated plugin for Rider, simulating plugin installation to Rhino requires extra steps.
There are the steps one needs to perform:
- After creating a template project via
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:
- Go to Run | Edit Configurations and make a “Publish To Folder” run configuration:
- 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:
Comments
0 comments
Please sign in to leave a comment.