Q6101016. Issues migrating Chart FX for .NET (Windows Forms) from the trial version to a licensed version
Due to the way Visual Studio .NET handles licensing, migrating from ChartFX for .NET trial to the licensed version can result in licensing errors.
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. Then, what happens is that even though you have a full license in your system, VS.NET still has a trial license stored in the project, which needs to be refreshed with the full license.
Microsoft does not advice of any way to "refresh" a license, but we have found two ways to do it:
- Opening 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.
- Deleting the licenses.licx and running Rebuild Solutions.
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 install a ChartFX extension on top of an existing version of the core product. Please see http://support.softwarefx.com/kb/610/1/017.htm for more details.