Getting started with the VSS (for partners)

ClickOnce installation of the Visual Service Scheduler

Follow the instructions below to make use of ClickOnce installation

Prerequisites:

Make sure that all client machines where the Visual Service Scheduler shall be installed via ClickOnce have the .NET Framework 2.0 and Visual C++ Runtimes installed. The necessary setups for the Visual C++ Runtimes can be downloaded here:

http://web.netronic.de/Downloads/common/vcredist_vs2005sp1_x64.zip
http://web.netronic.de/Downloads/common/vcredist_vs2005sp1_x86.zip

This needs to be done only once initially, you can then update the add-ins of the Visual Scheduling Suite via ClickOnce.

Preparation of the VSS for ClickOnce:

Install at least the client part of the Visual Service Scheduler on the machine where you want to set up the ClickOnce download environment. If that machine is also running the NAV Service or Services please install all components. To do so, use the relevant complete setup file (not the client-only setup).

To prepare the VSS for ClickOnce, you need to move these two dlls:

  • DNAV.VSSuite.BarLabel.DataBuilder.dll      
  • DNAV.VSSuite.Tooltip.DataBuilder.dll

These two files are each located in up to 5 different subfolders of the role tailored client. Both can be found in the Add-ins\NETRONIC\Visual * Scheduler folders and additionally

  • DNAV.VSSuite.BarLabel.DataBuilder.dll in the BarLabel Editor folder
  • DNAV.VSSuite.Tooltip.DataBuilder.dll in the Tooltip Editor folder

Move these two dlls from one of these folders into the NETRONIC folder and remove them from all other folders so that they can only be found in the NETRONIC folder.

Then move the file NETRONIC.XGantt.Extensions.dll into the NETRONIC folder and delete it  in all other folders of the RTC.

Now, the NETRONIC folder should look like shown below.

ClickOnce Installation

Next you have to move the NETRONIC X-Components out of the Global Assembly Cache (GAC) into the RTC folder (typically C:\Program Files (x86)\Microsoft Dynamics NAV\<NAV version>\RoleTailored Client).

To copy these dlls, proceed as follows:

  1. In order to open the GAC, run (Windows + r) one of following commands:
  • For the x64 DLL: %windir%\assembly\GAC_64
  • For the x86 DLL: %windir%\assembly\GAC_32

    Please choose the same version as the Dynamics.Nav.Client.exe which you want to deploy!
  1. Navigate to NETRONIC.XGantt, open the folder that is contained in it and copy the file NETRONIC.XGantt.dll into the RTC folder.
  2. Do the same for NETRONIC.XTree and copy the NETRONIC.XTree.dll into the RTC folder as well.
  3. Additionally copy the dlls from the steps 2 and 3 into your ClickOnce folder.

Creating the ClickOnce Package:

Refresh the ClickOnce manifest and the application file. It could be that you have to start from the template files again because the manifest file does not recognize dlls which have been removed.

Note:

In case the above instructions do not work, please proceed as follows:

Move all dlls, i.e.

  • DNAV.VSSuite.BarLabel.DataBuilder.dll
  • DNAV.VSSuite.Tooltip.DataBuilder.dll
  • XGantt.Extensions.dll
  • XGantt.dll
  • XTree.dll

to the RTC folder and delete them in all other folders. Then create the ClickOnce package again (See above).