HowTo: Distribute PrintControls with Your Application
This document details the PrintControls files you should ship with your application.
Applications using PrintControls require that the following two assemblies are present in the same folder as the executable: TMGDevelopment.PrintControls.dll and TMGDevelopment.Shared.dll
There are several ways to locate the correct assemblies:
1. The easiest way is to build an installer project for your app and it will automatically pull in the correct versions.
2. Another way is to set copy local to true for the TMGDevelopment.PrintControls and TMGDevelopment.Shared references in your project, this will cause Visual Studio to copy them to your bin directory and you can pick them up from there with your .exe and copy them with your exe to the target machine. Remember to turn off copy local again afterwards.
3. The final way is to copy them manually from their instralled locations under Program Files on your development machine, which are usually:
C:\Program Files\TMG Development Ltd\PrintControls Printing Components\bin\TMGDevelopment.PrintControls.dll
C:\Program Files\Common Files\TMG Development Ltd\PrintChaining\18.104.22.168\TMGDevelopment.Shared.dll