2 comments

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.

  • 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. 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!

1

Got it! Thanks a lot!

0

Please sign in to leave a comment.