Page 1 of 1

New Licensing

Posted: Mon Nov 26, 2018 12:55 pm
by 15684006
Hello,

I just integrated the latest TeeChart DLL to my project.
Along with the new DLLI get this "new" Licensing stuff you changed.
However, I made it work. But I had to set the option "copy to project output" to copy always/copy if newer.
Only with this method it works.
So my question: The EXE I publish to my customer will now always need this file "TeeChart.licenses"? Are you sure?
I was very lucky I packed every DLL with fody/costura into my EXE to have only one file left and now I will need another one?

Looking forward to your answer.

Re: New Licensing

Posted: Tue Nov 27, 2018 8:37 am
by Christopher
Hello,

it is possible to add TeeChart.licenses to a Windows Form project as an Embedded Resource making an additional TeeChart.licenses file unnecessary, as this test project shows:
ILSpy_2018-11-27_09-32-16.png
ILSpy_2018-11-27_09-32-16.png (37.23 KiB) Viewed 12044 times
The question is: why does this not work in your case? In order to understand why it doesn't work in your case I will need to be able to reproduce this issue here - could you please send me a Windows Forms project in which using TeeChart.licenses as an Embedded Resource does not work? Or maybe you could give me a detailed description of how to reproduce your problem here?

Re: New Licensing

Posted: Tue Nov 27, 2018 11:01 am
by 15684006
Hello,

we have a WPF Solution, not a WinForms Solution. Does this make a difference?

Re: New Licensing

Posted: Tue Nov 27, 2018 11:36 am
by Christopher
Hello,
HCCKPM wrote:
Tue Nov 27, 2018 11:01 am
we have a WPF Solution, not a WinForms Solution. Does this make a difference?
As with Windows Forms, TeeChart.licenses files can also be added as 'Embedded Resource' to WPF projects:
ILSpy_2018-11-27_12-33-11.png
ILSpy_2018-11-27_12-33-11.png (37.01 KiB) Viewed 12037 times