The licensing of the component uses Visual Studio’s standard licensing approach for the components. It is based on the use of licenses.licx files. For more information, please see here:
http://helpcenter.perpetuumsoft.com/KB/a262/licenseslicx-file.aspx
The general approach is as follows:
when compiling a project in Visual Studio for all the components included into
the licenses.licx which are found on the machine where the compilation is
performed, all found licenses will be embedded into the assembly.
In case of WPF Viewer for Reporting
Services of 3.0+ versions, two components are licensed.
To license the product it is
required to perform the following steps:
1.
If you do not have a licenses.licx file you need
to create it. This file is usually located in the Properties folder in case it
is a Web Application or it is located in the root folder if it is a Web Site.
Besides, Visual Studio does not allow to create files in the Properties folder.
So, you can create a simple text file in the root of the project and rename it
to licenses.licx. Then, it can be moved to the Properties folder.
2.
Add the following lines into the licenses.licx
file:
PerpetuumSoft.ReportingServices.Viewer.WPF.ReportViewer,
PerpetuumSoft.ReportingServices.Viewer.WPF, Culture=neutral,
PublicKeyToken=8a6ae0a3e67829b5
PerpetuumSoft.ReportingServices.Viewer.WPF.Communications.LocalServiceProcessor,
PerpetuumSoft.ReportingServices.Viewer.WPF, Culture=neutral,
PublicKeyToken=8a6ae0a3e67829b5
3.
Rebuild the project
.
After that, the licenses should be embedded into
the component. If this did not happen, please see the following article: http://helpcenter.perpetuumsoft.com/KB/a346/solution-for-the-licensing-issues.aspx
Article ID: 499, Created: November 8, 2012 at 10:31 AM, Modified: December 11, 2014 at 2:51 PM