The C1ProjectUpdater utility updates existing C# and VB projects by removing all specific version information for ComponentOne assemblies from the licenses.licx file and the .csproj and .vbproj files. This allows the project to use any suitable version of ComponentOne assemblies for the updated project. The utility can update WinForms, ASP.NET, WPF and Silverlight projects. Installing new assemblies may prevent existing projects from building correctly or you may experience unlicensed nag screens if they contain version-specific references to the original assemblies. To resolve this, run the C1ProjectUpdater utility to update your projects automatically.
1. Unzip the contents of the zip and double-click C1ProjectUpdater.exe to launch the utility. 2. Browse to the solution (.sln) or project file (.csproj/.vbproj) which needs updating. Selecting a solution will update all projects contained within. 3. Click Update to run the utility. Note: Copies of the original project and license files will be saved with a "bak" extension, and read-only files will be over-written.
The C1ProjectUpdater utility does two things automatically for you: 1. Removes version specific information from all licenses.licx files. For example, before running the utility your licenses.licx file may look like the following:
C1.Win.C1Schedule.C1Schedule, C1.Win.C1Schedule.2, Version=2.0.20103.142, Culture=neutral, PublicKeyToken=79882d576c6336da C1.Win.C1Preview.C1PrintPreviewControl, C1.Win.C1Report.2, Version=2.6.20103.54202, Culture=neutral, PublicKeyToken=41780e2fc605e636 C1.Win.C1Ribbon.C1Ribbon, C1.Win.C1Ribbon.2, Version=2.0.20103.289, Culture=neutral, PublicKeyToken=79882d576c6336da
After running the utility, your licenses.licx file will look like this:
C1.Win.C1Preview.C1PrintPreviewControl, C1.Win.C1Report.2 C1.Win.C1Ribbon.C1Ribbon, C1.Win.C1Ribbon.2 C1.Win.C1Schedule.C1Schedule, C1.Win.C1Schedule.2
Note: Not all project types may have a licenses.licx file. 2. Modifies reference for each ComponentOne assembly in the project file by marking each with the Specific Version = False attribute.
The C1ProjectUpdater utility can be installed into the Visual Studio 2010 Tools menu for convenient access. Simply click the link at the bottom of the utility dialog to add. Now you can run the utility directly within Visual Studio 2010 for an open solution. Note: You must not delete or move the utility from where you originally saved it once added to Visual Studio.