Skip to content

Upgrading Flexible TreeView#

When a new version of Flexible TreeView is released, follow the appropriate upgrade path based on your application's target framework.

Flexible TreeView assemblies location#

The Flexible TreeView installation contains separate built assemblies for each supported version of the .NET Framework or .NET, stored under separate directories within the Bin installation directory.

For .NET Framework applications, the Flexible TreeView assemblies are stored in the Bin\net4.6 directory, while for .NET applications, they are stored in the Bin\net6.0 and Bin\net8.0 directories.

Note

For the client application targeting .NET 7.0, you can use the net6.0 assemblies.

Only the ARMSoft.FlexibleTreeView.dll assembly should be referenced in your project. Refer to Deployment for more details.

For .NET Framework Applications#

  1. Uninstall the previous version of Flexible TreeView and install the new one. During installation, make sure to enable the Register in GAC component to register the Flexible TreeView assemblies in the Global Assembly Cache so they can be used in your project.

  2. In Visual Studio:

    • Remove the Flexible TreeView controls from the Toolbox and add them back using the new version (see Visual Studio Toolbox)
    • Update the ARMSoft.FlexibleTreeView.dll reference in your project to point to the new version from GAC
  3. Search for and update all license.licx files throughout your solution. Change the Flexible TreeView version to the new one:

    ARMSoft.FlexibleTreeView.FlexibleTreeView, ARMSoft.FlexibleTreeView, Version=6.0.0.0, Culture=neutral, PublicKeyToken=a0f39221011ef811
    
    Where 6.0.0.0 represents the new version number you're upgrading to.

For .NET Applications#

  1. Uninstall the previous version of Flexible TreeView.

  2. Install the new version of Flexible TreeView:

    • Run the installer and enable the Visual Studio integration component(s) that matches your installed Visual Studio version
    • The installation will add a new NuGet package source to Visual Studio named Flexible TreeView <version> - offline packages. The <version> number in the source name will match the version you're installing
  3. In Visual Studio:

    • Open the NuGet Package Manager for your solution and choose the Flexible TreeView <version> - offline packages source on the right side:

    NuGet Package Manager

    • Locate the new version of the ARMSoft.FlexibleTreeView package under the Updates tab and update it to the latest version