This project is read-only.

Mixed mode assembly error

Feb 6, 2013 at 7:52 AM
Hi,
i had a vb.net project running with .NET framework 3.5 and MapWinGis version 4.7.
I've changed the framework to version 4.0 and installed MapWinGis version 4.8.
I've changed every reference in my project, but when i try to run it, it gives this error:

Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime

Any idea?
Feb 6, 2013 at 3:50 PM
.NET Framework v3.5 is and upgrade of v2. So you can load applications build in .NETv2 in .NETv3.5

.NET Framework v4 is a new version. If you want to run .NETv3.5 applications you also need to install .NETv3.5
MapWinGIS is compiled for .NET 3.5 and needs to be recompiled for.NETv4 in order to get it to work.

BTW. Why are you still using MapWinGIS v4.7? It is several years old. v4.8.6 is the latest stable version.

Paul