Spread.NET ReadMe Documentation
In This Topic
    Upgrading Projects
    In This Topic

    When you install Spread WPF and you have used previous versions of the product, you might need to update your existing projects. See the section "To upgrade your existing projects" below for details.

    To update the Toolbox in Visual Studio .NET

    For new projects, you might need to remove the existing GcSpreadSheet component from your Toolbox and add the new GcSpreadSheet component. To do so, follow these instructions:

    1. Right-click on the Toolbox, and choose the Choose Items option.
    2. In the Customize Toolbox dialog, choose the WPF Components tab.
    3. In the list of Components, clear the check box in front of GcSpreadSheet where the assembly name indicates the old version, and select the check box in front of GcSpreadSheet where the assembly name indicates the current version.
    4. Click OK to close the dialog and place the updated GcSpreadSheet in your Toolbox.

    To upgrade your existing projects

    For existing projects, make sure the reference path is correct, and add the new GcSpreadSheet assemblies. To do so, follow these instructions:

    1. Open the project in VS.NET and close all the open forms.
    2. In VS.NET in your project, open the Solution Explorer (Ctrl+Alt+L).
    3. Right-click the Project and choose Properties.
    4. From the Project's Property Pages, select Reference Path and modify the Reference Path so it points to the location where you installed the latest assemblies. Then click OK.
    5. Click OK to close the Add Reference dialog and add these assemblies to your project.

    Verify that the version number in the licenses.licx file is correct. For example:

    Change:

    GrapeCity.Windows.SpreadSheet.UI.GcSpreadSheet, GrapeCity.WPF.SpreadSheet.UI, Version=8.40.20143.0, Culture=neutral, PublicKeyToken=3ef656c0a61aba3a

    To:

    GrapeCity.Windows.SpreadSheet.UI.GcSpreadSheet, GrapeCity.WPF.SpreadSheet.UI, Version=12.45.20181.0, Culture=neutral, PublicKeyToken=3ef656c0a61aba3a

    Remember to make a backup of all your projects before upgrading. Once you have followed these instructions and upgraded the projects, and changed the Reference Path and loaded and saved the project, you will not be able to open the project in the old version. Once you have saved it in the new version, you cannot go back and open it in the old version. This restriction applies only to files that have a control on a form that had changes at design time that required writing objects to the RESX file.

     

    Return to the ReadMe.