Jump to content
Software FX Community

licensing issue


Recommended Posts

I am writing a .NET assembly (dll) that is used as an 'add-in' for another .NET application (an application that I did not write or have the source to). I would like my add-in to use charts made with the ChartFX WPF components. I have no problem getting things to work on my development machine, however I run into problems when I try to run on a machine that does not have ChartFX installed. Specifically, I am getting the following error (if you look far enough down into the 'InnerExceptions'): Couldn't get Run Time license for 'ChartFX.WPF.Chart' .

I've done quite a bit of research on this and I have determined the following: The licenses.licx file needs be compiled as an embedded resource in the EXE that acts as the entry point of the application. In my case, the licenses.licx file is embedded in my dll, but that will probably not make a difference becuase it needs to be in the EXE that calls my dll. You can see the problem here. Since my dll is an add-in for a third-party product, I have no control over adding the licenses.licx file as an embedded resource to their product exe, the real entry point of the application (I obviously don't have the source code for their EXE and cannot compile it myself).

Any suggestions?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...