Page 1 of 1

WPF deployment problem

Posted: Fri Jun 20, 2008 4:27 pm
by 9788264
I am trying to deploy a WPF project built using VS2008. The charts are all created in code.

I created a licenses.licx file and added it to the project as follows:

Code: Select all

Steema.TeeChart.TChart, TeeChart
Steema.TeeChart.WPF, TeeChart
I am getting a compile errors:
Error 1 Unable to resolve type 'Steema.TeeChart.TChart, Error 2 Unable to resolve type 'Steema.TeeChart.WPF,

Am I missing something?

Posted: Mon Jun 23, 2008 10:13 am
by narcis
Mike B,

I recommend you to read Tutorial 17 - Designtime, Runtime and License Requirements. You'll find the tutorials at TeeChart's program group. If the problem persists please let us know the exact steps we should follow to reproduce the issue here.

Thanks in advance.

Deployment

Posted: Mon Jun 23, 2008 2:33 pm
by 9788264
Actually, I did read the tutorial. What I gleaned from the tutorial is that, since I create all my charts in code, I must create a licenses.licx file manually, and add it to the project. Seems simple enough.

I tried to do that, and I got the compile time error mentioned in my previous message.

Am I overlooking something? Keep in mind that I am using the 3.5 framework with WPF.

Posted: Mon Jun 23, 2008 2:53 pm
by narcis
Hi Mike B,
Actually, I did read the tutorial. What I gleaned from the tutorial is that, since I create all my charts in code, I must create a licenses.licx file manually, and add it to the project. Seems simple enough.
That's not enough, you should add the license file to your project and compile it as an embedded resource in the project. You can have a look at the projects in the installation's Examples folder for usage examples. license file is also included with installation files.

Hope this helps!