algorithmic modeling for Rhino
You must set CopyLocal to false for your RhinoCommon reference, and then make sure you delete the RhinoCommon.dll that was copied next to your plugin by Visual Studio. Rhino loads RhinoCommon for you, so you should not provide competing versions of that dll yourself.
Thank you for your reply,
"and then make sure you delete the RhinoCommon.dll that was copied next to your plugin by Visual Studio"
I cannot find any .dll file in the project's directory. Could you please be more descriptive as this the first time of mine working on sth like that?
When Visual Studio compiles a project it usually puts the resulting dll or exe or rhp files in a bin folder. The 'bin' stands for 'binaries', which is what compiled files are sometimes called. Within the bin folder there may also be a distinction between Debug and Release. However it is possible to make VS put the files elsewhere, so it all depends on the project settings.
If you're compiling Rhino plugins, and you haven't set the CopyLocal=False property, VS will put a copy of RhinoCommon.dll next to your Plugin.RHP file.
It is usually safe to delete the entire Bin and Obj folders, as you can always compile the project anew.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by