Installing Tools (Mac)
macOS only
By the end of this guide, you should have all the tools installed necessary for authoring, building, and debugging C# .NET plugins using RhinoCommon in Rhino for Mac.
Prerequisites
This guide presumes you have an:
- Apple Mac running macOS Monterey (12) or later.
- Rhino for Mac
Install Visual Studio Code
What happened to Visual Studio for Mac?
Visual Studio for Mac has been retired by Microsoft.
Step-by-Step
- Download Visual Studio Code.
- Once you have downloaded the VSCode-darwin-universal.zip, double-click it to unzip.
- Drag Visual Studio Code to the /Applications folder.
- Open Visual Studio Code, you will need to click “Open” the first time you open it.
- You will need to install some packages before starting, luckily all the required pacakges are bundled together. These can be found by clicking “Extensions” on the left side bar:
- Intellicode for C# Dev Kit
- NuGet Gallery Plugin (Recommended)
- Restart Visual Studio Code.
- Visual Studio Code is installed in your /Applications folder. You will want to drag its icon to your Dock for future use or - if it’s running - right/option-click the icon in the Dock and select Keep in Dock.
Next Steps
Congratulations! You have all the tools necessary to build a RhinoCommon plugin for Rhino for Mac. Now what?
Check out the Your First Plugin (Mac) guide for instructions building - your guessed it - your first plugin.