Cannot Talk to license manager, error -200 with RhinoCore C#

Hey everyone,
I’ve been trying to get Rhino to launch via a C# WPF app, using RhinoCore

RhinoInside.Resolver.RhinoSystemDirectory = rhinoSystemDir;
RhinoInside.Resolver.Initialize();
_rhinoCore = new RhinoCore(new string { }, Rhino.Runtime.InProcess.WindowStyle.Normal);

But every time I get this error message : Cannot Talk to license manager, error -200

Launching Rhino8.exe works fine however, and my license is detected

Any idea what might be causing RhioCore to not be able to validate my license ?

H, Joel. I also had frustrations with license manager errors when moving from plugin to Rhino.Inside. Once I got started away from plugins, I find Rhino.Inside a more straightford approach. Here is the code I am using in the program.cs file.
program.zip (1.7 KB)

Hope this helps.
Dave