What happened to Manage Assemblies

When you open the script editor in Rhino, you see this:

// NOTE:
// - Reference to RhinoCommmod.dll is added by default
// - Use // r "<assembly name>" to reference other assemblies
//       e.g. // r "System.Text.Json"
//       e.g. // r "path/to/your/Library.dll"
// - Use // r nuget "<package name>==<package version>" to install and reference nuget packages.
//   >= and > are also accepted instead of ==
//       e.g. // r nuget "RestSharp==106.12.0"
//       e.g. // r nuget "RestSharp>=106.10.1"
// - Use #r "nuget: <package name>, <package version>" to install and reference nuget packages.
//       e.g. #r "nuget: RestSharp, 106.11.7"

using System;
using Rhino;

Console.WriteLine("Testing CS");

Below is an excerpt from a Kangaroo custom goal by @DanielPiker

// r "C:\\Program Files\\Rhino 8\\Plug-ins\\Grasshopper\\Components\\KangarooSolver.dll"

// Grasshopper Script Instance
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;

using Rhino;
using Rhino.Geometry;

using Grasshopper;
using Grasshopper.Kernel;
using Grasshopper.Kernel.Data;
using Grasshopper.Kernel.Types;
using System.Linq;
using KangarooSolver;

direction_no_reverse_goal.gh (27.4 KB)

2 Likes