.net Sdk - Compatibility With .net Framework 4.0 Follow
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
31 comments

Ian Cummings
ModeratorCheck out BarTender 2016, now supporting x64 and .NET framework 4.0: http://www.seagullscientific.com/downloads/label-software/barcode-label-printing-software-download/
Please sign in to leave a comment.