For my own understanding, I’ve re-created my own version of Dale’s Moose sample project using the Rhino / Grasshopper plug in templates provided by the RhinoSDK. So the solution has the following projects:
“PluginName” - Rhino 6 c++ plug in
“PluginNameCommon” - created by starting with Rhino 6 c# plugin, then deleting some files / making some changes according to how Moose is setup
“PluginNameCoreLib” - created by starting with Rhino 6 c++ plug in, then deleting some files / making some changes according to how Moose is setup.
“PluginNameGH” - Grasshopper plugin
“MooseNet” - Rhino 6 c# plugin
Everything builds fine.
But, in order for it to work when using Rhino, I have to go into the …\Bin\Debug\ folder and rename “PluginNameCoreLib.rhp” to “PluginNameCoreLib.dll.”
So, for some reason, the PluginNameCoreLib project is outputting a .rhp instead of a .dll and i can’t figure out how to change this!
In Dale’s Moose project, MooseCoreLib outputs a .dll instead of a .rhp, so I’ve missed something in setting up my version.
What do i need to do so that PluginNameCoreLib outputs .dll instead of .rhp?
I know they are the same thing really, but I’d rather not have to rename it everytime i rebuild.