Hi @dimcic,
See the following:
SampleSharedRhinoLibrary.zip (99.4 KB)
In this solution, the SharedLibrary project was created by first creating a new Rhino 6 C++ plugin project.
I then removed the plugin .cpp and .h files and the command .cpp file.
Finally, I removed the Rhino.Cpp.PlugIn.props property page and added the Rhino.Cpp.PlugInComponent.props. These property pages are found in the PropertySheets folder in the Rhino C++ SDK folder. Use Visual Studio’s Property Manager to do this.
Of course, I also added the SAMPLELIBRARY_DLL_EXPORTS processor definition to this project only.
Let me know if this helps.
– Dale