License issue

"Hello everyone,

Could someone help me with a license issue?

Whenever I start my application, I get the error: “A valid license could not be granted for the type ‘RemObjects.Hydra.NonVisualPlugin’. Please contact the manufacturer of the component for more information.”

I have already tried cleaning the “obj” and “bin” folders, but the error persists [on a .NET Framework WinForms project]. What I find totally confusing is that my solution contains several different projects compiled as DLLs; some can be loaded at runtime without any issues, while others throw this exception during loading. (I am using System.ComponentModel.Composition to load the plugins.)"

Hi,

Check that you have licenses.licx included as embedded resource into your plugin project, like

    <EmbeddedResource Include="licenses.licx" />

it should contain this line:

RemObjects.Hydra.NonVisualPlugin, RemObjects.Hydra
1 Like

Just found same solution 10 minutes ago, I copied “licenses.licx“ from some working project into a project that throws an exception, it worked!

After that checked Git what is the diff. between “before” and “after”, you are right, it is something about “EmbeddedResource”