Unable to launch Icad.exe from Visual Studio

I am evaluating the way plugins can be developed for CMS Intellicad. (I am using latest evaluation version). I have written a small plugin. I am starting icad.exe from withing Visual Studio 2017. The Product Registration dialog comes up, I click Register Later but then the application stops. If I launch Icad.exe from the start menu it works. Any suggestions?
(I am able to debug my plugin by first starting icad.exe and then attaching the debugger to the process but this is cumbersome way of doing it)
Kind regards