ok scenario :
I want to be able to read userdata from both a rhino plugin (rhp) and a grasshopper dll (GHA)
so I have defined a derived UserData class in a dll.
I get a exception when I call the routine (in my case a Layer object ) from the rhp plugin
UserDataEx data = new UserDataEx();
myLayer.UserData.Add(data);
Before moving the class into a dll it was working fine, so I assume the class needs something else
but since I am not a c# guru for sure I am missing something
Investigating a bit I think (as I said I am not a c# guru) that Rhino does not “see” the userdata
defined in the shared dll.
I have no better word to define this since I generally write c++ code