Can't run my custom command in Rhino 8 with Rhino3DM

Hi there, I’m trying to run a custom command in debug mode, but when I tried to convert rhinocommon points to rhino3dm points (last line of command), it doesn’t run at all. Any ideas? Thanks!


image

Ahh I needed to copy rhino3dm.dll into the debug dir, fixed!