Q6101017. Licensing issues related to using Chart FX for .NET extensions with an existing version of the core product
After installing any of the Chart FX for .NET extensions (on top of a version of the core product) you may experience licensing problems in existing projects.
When you create a new project and drop any licensed component (such as Chart FX for .NET), VS.NET adds a new entry into a Licenses.licx file it creates in the same project folder, and stores an internal reference to the license for its use at run-time. For performance reasons, the component license is not automatically refreshed in the project, even though a new license is installed in the computer. Therefore, when you have an existing project using the core product (release version) and then you add a trial version of one of the extensions, you will get a license exception unless you manually refresh the license information.
Microsoft does not advice of any way to refresh a license, but you can accomplish that in following two way:
- Open the licenses.licx with an editor (it’s a simple text file), which can be VS.NET itself or Notepad or any other editor for that matter, delete all the entries (leave it blank), and save it. Then, simply rebuild your solution.
- Delete the licenses.licx and Rebuild your Solution.
The licenses.licx file is located in the same folder of the project.
Note: You should not have to remove your charts or recreate them.
Also note that a similar issue occurs when you migrate from a trial version of Chart FX to a release version of the core product. Please see http://support.softwarefx.com/kb/610/1/016.htm for more details.