Using assembly packs
Posted: Wed Jul 16, 2014 2:35 pm
Assemblies in assembly packs contain minor feature improvements and important bug fixes. Instead of waiting for the whole SDK to be released our customers can use the updated assemblies in their projects much faster. If LightningChart Ultimate SDK has already been installed you need to make sure that you reference the correct assemblies in your project. This topic will provide you with information how to update your project to use the latest assemblies from an assembly pack.
You can use the same instructions when a new assembly pack is available. Just create a new folder for each version. You can remove the older version folders if you don't need them anymore.
To update Visual Studio's toolbox, follow these instructions:
- Create a folder for assembly packs. C:\Arction will be used in this tutorial.
- Download the latest assembly pack.
- To avoid any security problems with Visual Studio make sure that the zip file is not blocked. Right-click the zip file and in the opening context menu click "Properties". If there's an "Unblock" button in the file properties window's "General" tab, click it.
- Create a new subfolder in C:\Arction and name it according to the version number of the assembly pack. 6.0.10 will be used in this tutorial.
- Extract assembly pack to the new subfolder and make sure that it contains LibNET2 and LibNET4 folders after extraction is done.
- Open your project, memorize which Arction assemblies your project is referencing and then remove the references.
- Add references to the assemblies you need from C:\Arction\6.0.10 folder.
- If you have multiple projects that reference Arction assemblies, execute steps 5 and 6 for them too.
- Build your project(s).
- If you get an error (e.g. Bad data), close Visual Studio and delete bin and obj folders from your project folder. Then open your project and build.
You can use the same instructions when a new assembly pack is available. Just create a new folder for each version. You can remove the older version folders if you don't need them anymore.
To update Visual Studio's toolbox, follow these instructions:
- Make the toolbox visible and find LightningChart Ultimate SDK's tab.
- Remove all items under the tab.
- After the tab is empty right-click inside the tab and click on "Choose Items..".
- On component tab page (".NET Framework Components" tab for WinForms or "WPF Components" tag for WPF) browse to C:\Arction\6.0.10\LibNETX (where X is 2 or 4 depending on your project's target framework) and select LightningChartUltimate assembly (WPF of WinForms depending on your project type).
- Click "OK" and the updated controls should appear in the toolbox.
- Repeast steps 4 and 5 for SignalTools assembly.