LEADTOOLS Support
General
General Questions
FAQ: Using .NET 2.0 LEADTOOLS assemblies in a .NET 4.0 Application
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, June 9, 2010 5:17:24 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
When building a .NET 4.0 application using our .NET 2.0 assemblies, you will get a runtime error saying:
System.IO.FileLoadException was unhandled
Message=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.To resolve this issue, you will need to open the app.config file in the project and modify the startup element. You will need to add the useLegacyV2RuntimeActivationPolicy="true" attribute as shown in the screenshot.
For more information, please see the following page:
http://msdn.microsoft.co...19wzk%28v=VS.100%29.aspxGuest attached the following image(s):
LEADTOOLS Support
General
General Questions
FAQ: Using .NET 2.0 LEADTOOLS assemblies in a .NET 4.0 Application
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.