Updating a RhinoCommon plugin to use the most recent Rhino SDK version

Hi!

How can I update our RhinoCommon plugin to make use of the most recent Rhino 8 SDK version?

I originally created the plugin for Rhino 8 WIP on Windows and created the project files in Visual Studio 2022 with the Rhino Visual Studio Extension (VSIX) / RhinoCommon Plug-In for Rhino 3D C# project wizard. In the csproj file I see the following entry:

<PackageReference Include="RhinoCommon" Version="8.0.23164.14305-wip" IncludeAssets="compile;build" />

I would now like to update the plugin to make use of the newest API changes for Rhino 8.4. I’ve uninstalled all previous Rhino versions and only installed Rhino 8.4. If I use the plugin wizard again it still references Version="8.0.23164.14305-wip" and I have no access to the latest API changes in the plugin.

What is the best way to update to the most recent SDK version, manually or automatically? Where do I find the correct SDK version if I want to edit the line in the csproj file manually?

Best regards
Timothy

1 Like

I pasted the version number I found in Help -> About Rhinoceros into the line. Now it works and I have access to all new SDK features:

<PackageReference Include="RhinoCommon" Version="8.4.24044.15001" IncludeAssets="compile;build" />

NuGet allows for wildcards on package versions, known as "Floating Version"s. So if you want to always have the latest Rhino 8 version of RhinoCommon, you can change the Version attribute to something like: Version=“8.*” and it will get the latest version of the NuGet package.

1 Like

That’s very helpful. Thanks, Jason!

1 Like