SharpShooter Reports.WPF. Manual creation of licenses.licx file

 SharpShooter.Reports WPF licensing


Our components use standard Visual Studio licensing mechanism. It’s based on licenses.licx file. For more info, please take a look at the following article:

http://helpcenter.perpetuumsoft.com/KB/a262/licenseslicx-file.aspx

The idea is that licenses.licx contains list of components for which we want to embed license into assembly during compilation process. When you compile your project Visual Studio compiler looks into licenses.licx file and with help of reflection finds license provider for each line. If the license is valid then it’s embedded into the assembly. You can deploy your project and licensing mechanism will find license if it’s embedded into the assembly.

To license the SharpShooter Reports WPF component the following steps should be done:

1. If you do not have a licenses.licx file you need to create it. This file is usually located in the Properties folder of the VS project. Please, note that Visual Studio does not allow creating files in the Properties folder. So, you can create a simple text file in the root of your solution and rename it to licenses.licx.

2. licenses.licx file should contains the following text:

PerpetuumSoft.Reporting.WPF.ReportViewer, PerpetuumSoft.Reporting.WPF, Culture=neutral, PublicKeyToken=8a6ae0a3e67829b5

3. After the licenses.licx file is created and moved to Properties folder, the application should be rebuilt, so the license would be emdedded into the assembly.

Add Feedback