license file not being copied to output dir
license file not being copied to output dir
VS2008 Pro, X86 (only) .NET project build.
I upgraded teechart (minor update) and at some point the license file stopped getting copied to the output directory - the old one was there but not the new one. I removed the reference and re-added it, I have 'copy file' for that reference to true.
I can manually add the licenses.licx file to the project and have it copied to the output directory or put as an embedded resource, what is the best option? Can I embed this and have it not needed in the output directory?
Do I re-do this each time I update the version of TeeChart?
Thanks.
I upgraded teechart (minor update) and at some point the license file stopped getting copied to the output directory - the old one was there but not the new one. I removed the reference and re-added it, I have 'copy file' for that reference to true.
I can manually add the licenses.licx file to the project and have it copied to the output directory or put as an embedded resource, what is the best option? Can I embed this and have it not needed in the output directory?
Do I re-do this each time I update the version of TeeChart?
Thanks.
Re: license file not being copied to output dir
The error message I'm getting is (for user computers) "Load ErrorAn instance of type 'Steema.TeeChart.Chart' was being created and a valid license could not be granted for teh type 'Steema.TeeChart.Chart'. Please, contact the manufacturer of the component for more information.
Re: license file not being copied to output dir
I opened a form in the app, dragged a new teechart onto it, deleted the teechart, and things are better.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: license file not being copied to output dir
Hi dunion,
The contents of the licenses.licx file most likely won't change between version updates as auto-editing of the file only takes place when a Chart is dragged to a form (as per your last post). An abbreviated TeeChart entry in the file is possible, thus being build independant:
ie.
Steema.TeeChart.Chart, TeeChart
and/or
Steema.TeeChart.TChart, TeeChart
and/or
Steema.TeeChart.Web.WebChart, TeeChart
The contents of the licenses.licx file most likely won't change between version updates as auto-editing of the file only takes place when a Chart is dragged to a form (as per your last post). An abbreviated TeeChart entry in the file is possible, thus being build independant:
ie.
Steema.TeeChart.Chart, TeeChart
and/or
Steema.TeeChart.TChart, TeeChart
and/or
Steema.TeeChart.Web.WebChart, TeeChart
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: license file not being copied to output dir
i am getting the same error that dunion is getting ("... a valid license could not be granted for the type 'Steema.TeeChart.Chart'.") I don't know how to do the trick that he mentioned so could you explain to me where the licenses file needs to be and what needs to be in it. I am a very new to C#, have worked very little with 3rd party components and this is an inherited solution that has 2 projects that reference TeeChart.dll.
thanks,
ndnd
thanks,
ndnd
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: license file not being copied to output dir
hi ndnd,
Please read the thread below about the same issue:
http://www.teechart.net/support/viewtopic.php?t=6711
You may also want to check the examples included with the installation which include licenses.licx compiled as an embedded resource.
Hope this helps!
Please read the thread below about the same issue:
http://www.teechart.net/support/viewtopic.php?t=6711
You may also want to check the examples included with the installation which include licenses.licx compiled as an embedded resource.
Hope this helps!
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: license file not being copied to output dir
narcis
i found and loaded the example project. i see the licenses.licx file in the project directory on the disk but not in visual studio. i do not know how to see how it is used as an embedded resource inside visual studio. i have searched for "licenses.licx" in the project but it not referred to in any comments or code or hidden text. please advise.
also, how do i access the tutorial mentioned in the thread that you pointed me to ?
thanks,
ndnd
i found and loaded the example project. i see the licenses.licx file in the project directory on the disk but not in visual studio. i do not know how to see how it is used as an embedded resource inside visual studio. i have searched for "licenses.licx" in the project but it not referred to in any comments or code or hidden text. please advise.
also, how do i access the tutorial mentioned in the thread that you pointed me to ?
thanks,
ndnd
Re: license file not being copied to output dir
i found the tutorial inside this file :
C:\Program Files\Steema Software\TeeChart for .NET v3\Docs\TeeChart for .Net Tutorials.chm
C:\Program Files\Steema Software\TeeChart for .NET v3\Docs\TeeChart for .Net Tutorials.chm
Re: license file not being copied to output dir
Tutorial 17 was very helpful. I was able to deploy to a user machine with no errors once i embedded the licenses.licx files in the 2 projects that reference teechart and the startup object.
one minor question from the tutorial:
What does the following mean?
"... plus the corresponding 'not-published' keycode ..."
This phrase appears in the Description subsection of the "Licensing setup for design and runtime" section of Tutorial 17.
thanks
ndnd
one minor question from the tutorial:
What does the following mean?
"... plus the corresponding 'not-published' keycode ..."
This phrase appears in the Description subsection of the "Licensing setup for design and runtime" section of Tutorial 17.
thanks
ndnd
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: license file not being copied to output dir
Hi ndnd,
This means that besides the public key described in the tutorial there's also a private key which is necessary to be able to use TeeChart for developing and compiling applications using it.
This means that besides the public key described in the tutorial there's also a private key which is necessary to be able to use TeeChart for developing and compiling applications using it.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |