Custom Component Disappears/Distorts

Hi Everyone

I’ve created some custom GH components in Visual Studio which are working great until I close & re-open the script. At this point, they’ve either disappeared completely or they distort (number of input ports/component type changes) and this requires me to drop in new every time.

Has anyone experienced this? Any tips on how to fix this?