I have a dll created in C# that I am trying to use in my visual studio 2010 project. When I try to access a function from the DLL I get this exception thrown:
ystem.IO.FileLoadException was unhandled
Message=Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
Source=OpenLayers.Base
StackTrace:
at q.a(Boolean A_0)
at q.a()
InnerException:
The DLL is built against an older version of the .NET framework.
I have seen some posts on the internet that say to modify a configuration file.(LINK-> MSDN Posting ) But it seems that this configuration file is only generated if you are creating a VB or C# program. Does anyone know how to modify this 'additional configuration information' for the CLI / C++ framework in VS 2010?
Any insight or help would be greatly appreciated!
Thanks!