Skip to main content

Referencing the Assembly and Deployment

Version: 1.0

Referencing the Assembly and Deployment

DynamicBarcode Creator v1.x.x for .NET is installed at "%Program Files%\ceTe Software\DynamicBarcode Creator v1.x.x for .NET\bin" on 32-bit machines and "%ProgramFiles(x86)%\ceTe Software\DynamicBarcode Creator v1.x.x for .NET\bin" on 64-bit machines by default. There are four assemblies included, one for each of the following .NET Framework versions: 2.0 / 3.x and 4.x.

Assembly NameProject TypeAssembly VersionFramework Version
ceTe.DynamicBarcode.Creator.20.dllWindows & Web1.x.x.202.0 and 3.x
ceTe.DynamicBarcode.Creator.40.dllWindows & Web1.x.x.404.x
ceTe.DynamicBarcode.Creator.Wpf.30.dllWPF1.x.x.303.x
ceTe.DynamicBarcode.Creator.Wpf.40.dllWPF1.x.x.404.x

Referencing the Assembly​

Visual Studio .NET 2010, 2012, 2013 and 2015​

To reference our assembly from Visual Studio 2010, 2012, 2013 and 2015 open your project's references window (right click on the project's References and select "Add Reference..."). From the Add Reference window click on the "Browse" tab and browse to the bin folder where the dlls are installed and select the appropriate dll based on the .NET Framework version the project targets. Visual Studio 2010, 2012, 2013 and 2015 by default will use the .NET 4.0 dll.

32-bit (x86) and 64-bit (x64) Versions​

All our ceTe.DynamicBarcode.Creator dll files are built using the AnyCPU option and therefore do not need separate 32-bit or 64 bit builds. Any of the above dll files can run natively in either 32-bit or 64-bit environments.

Adding assembly reference by selecting the DynamicBarcode Creator control from Visual Studio toolbox​

The DynamicBarcode Creator MSI will automatically add the DynamicBarcode Creator control to the toolbox of all Visual Studio that are selected for integration during installation.

If the toolbox does not contain the DynamicBarcode Creator control, refer the DynamicBarcode Creator as a Control topic for adding it manually.

A Visual Studio toolbox will contain one or more DynamicBarcode Creator control inside its toolbox based on the .NET version of the project.

Adding assembly reference by selecting the DynamicBarcode Creator WPF control from Visual Studio toolbox​

The DynamicBarcode Creator MSI will automatically add the DynamicBarcode Creator WPF control to the toolbox of all Visual Studio that are selected for integration during installation.

If the toolbox does not contain the DynamicBarcode Creator WPF control, refer the DynamicBarcode Creator as a Control topic for adding it manually.

A Visual Studio toolbox will contain one or more DynamicBarcode Creator WPF control inside its toolbox based on the .NET version of the project.

Visual Studio .NET 2010, 2012, 2013 and 2015​

There will be two different tabs inside the Visual Studio toolbox containing the DynamicBarcode Creator control and WPF control for the respective framework.

For .NET 2.0, 3.0 & 3.5 projects select the DynamicBarcode Creator control present under “DynamicBarcode Creator for .NET 2.0 & 3.x”

For .NET 3.0 & 3.5 projects select the DynamicBarcode Creator WPF control present under “DynamicBarcode Creator for WPF 3.x”

For .NET 4.0, 4.5 , 4.5.1, 4.5.2 and 4.6 projects select the DynamicBarcode Creator control present under “DynamicBarcode Creator for .NET 4.x”

For .NET 4.0, 4.5 , 4.5.1, 4.5.2 and 4.6 projects select the DynamicBarcode Creator WPF control present under “DynamicBarcode Creator for WPF 4.x”

Note: Visual Studio will filter the unsupported framework control based on the current project’s .Net framework. If the current project’s .NET framework is .NET 2.0 or 3.0 or 3.5, then “DynamicBarcode Creator for .NET 4.x” or “DynamicBarcode Creator for WPF 4.x” tab and its control will not be present in the toolbox.

DynamicBarcode Creator for .NETDynamicBarcode Creator for .NET
Figure 1 – Visual Studio integration of DynamicBarcode Creator for WinForm and WebFigure 2 – Visual Studio integration of DynamicBarcode Creator for WPF

Note: Adding multiple DynamicBarcode Creator control of different .NET framework inside a same form or different form in the same project will add multiple references of DynamicBarcode Creator assembly to the project. This will raise a compiler error.

Deployment​

DynamicBarcode Creator for .NET is contained in ceTe's Barcoding assembly (ceTe.DynamicBarcode.Creator.xx.dll). You will need to ensure that it is in your application's bin folder. You can then deploy the assembly along with your application using XCOPY or your own setup program.

Licensing​

In additional to deploying the dll files with your application, a license key must be added to remove the watermark. A license key can either be added to a .config file or it can be added as a line of code in the application. License keys can be retrieved from the Customer Area of our website, https://www.dynamicpdf.com/CustomerArea, after the purchase of an appropriate serial number.