Installing Tools (Windows)
Windows only

By the end of this guide, you should have all the tools installed necessary for authoring, building, and debugging .NET plugins using RhinoCommon on Windows.

Prerequisites

This guide presumes you have:

Rhino 8

Rhino 7

Install Visual Studio

To write .NET plugins for Rhino using using RhinoCommon, you will Microsoft Visual Studio. As of this writing, the current version is Visual Studio 2022.

  1. Download Microsoft Visual Studio.

  2. Run the Visual Studio installer you just downloaded.

    Visual Studio Install

  3. Follow the onscreen prompts to install Visual Studio.

  4. Check the .NET desktop development workload.

  5. Click the Individual components tab.

  6. Scroll to the .NET section and check the following options:

    1. .NET 7.0 Runtime
    2. .NET Framework 4.8 SDK
    3. .NET Framework 4.8 targeting pack
  7. Check any additional features required for your project.

  8. When finished, click Install.

  9. Depending on your internet connection, this can take several minutes to complete.

If you already have Microsoft Visual Studio installed, then you will want to re-run the Visual Studio Installer and verify you have all the the components installed.

Installing Visual Studio Extension

The Rhino Visual Studio Extension contains templates to get you started creating plugin projects quickly.

  1. Download the Rhino Visual Studio Extension (VSIX).
  2. Run the VSIX installer you downloaded.
  3. If the installation is successful, run Visual Studio.

Next Steps

Congratulations! You have the tools to build a RhinoCommon plugin for Rhino for Windows. Now what?

Check out the Your First Plugin (Windows) guide for instructions on how to build your first plugin.