.net Sdk - Compatibility With .net Framework 4.0
I'm trying to use the BarTender 9.4 print engine with an application that uses version 4.0 of the .NET Framework.
When I attempt to start the print engine, I get an exception.
Here's the code:
[code].
.
.
// Create and start a new BarTender Print Engine.
try
{
_engine = new Engine(true);
}
catch (Exception exception)
{
MessageBox.Show(this, exception.Message, AppName);
Close(); // Close this app. We cannot run without connection to an engine.
return;
}
.
.
.[/code]
Here's the exception:
[code]Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.[/code]
Can someone please tell me where I can get the .Net 4.0 compatible COM wrapper library for the BarTender 9.4 ActiveX automation library?
Best regards,
CG
When I attempt to start the print engine, I get an exception.
Here's the code:
[code].
.
.
// Create and start a new BarTender Print Engine.
try
{
_engine = new Engine(true);
}
catch (Exception exception)
{
MessageBox.Show(this, exception.Message, AppName);
Close(); // Close this app. We cannot run without connection to an engine.
return;
}
.
.
.[/code]
Here's the exception:
[code]Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.[/code]
Can someone please tell me where I can get the .Net 4.0 compatible COM wrapper library for the BarTender 9.4 ActiveX automation library?
Best regards,
CG
0
-
Check out BarTender 2016, now supporting x64 and .NET framework 4.0: http://www.seagullscientific.com/downloads/label-software/barcode-label-printing-software-download/
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
31 Kommentare