Issue with events at compilation

I’ve got an issue with rhino event handlers: Everything works fine when I run my project on debug mode, but if I make a release and install it, the events are never raised.
Any idea?
Best regards

HI @Matthieu_from_NAVINN,

We’ll need more details. Obviously event watchers work in Release builds. The sample on GitHub demonstrates this.

– Dale

Hi @dale,
After further investigation, the build method where indeed not the issue. It worked in debug because it targeted my skin with my plugin’s panel already opened, while in release mode I tested it outside of the skin, and the code not finding the panels crashed without reporting.

Fixed with just a few If MyPanel IsNot nothing then ...