Updating Your License File

After you've updated your controls you will need to update your project's license file to avoid unlicensed nag screens at run-time.

The easiest way to do this is to locate your licenses.licx file and remove all version specific information from each line referencing a ComponentOne control.

For example:

C1.Win.C1FlexGrid.C1FlexGrid, C1.Win.C1FlexGrid.2, Version=2.6.20093.427, Culture=neutral, PublicKeyToken=79882d576c6336da

Should be modified to just include:

C1.Win.C1FlexGrid.C1FlexGrid, C1.Win.C1FlexGrid.2

Your licenses.licx file is located within your Projects directory structure. It is sometimes necessary to click ShowAll Files in the Solution Explorer window to see .licx files.

Rebuild your project to reflect new licensing changes. With ASP.NET web sites, you should also right-click your App_Licenses.dll, which is located in the bin directory, and select Update Licenses.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.