I am having a problem with an MONO application, I\'m trying to compile the project (with MonoDevelop) so as to load the library run mscorlib.dll 4.0 instead of version 2.0.
Right-click the project -> open the Build/General page and make sure Target Framework is Mono / .NET 4.0
:
Finaly I found a solution for this problem:
https://bugs.launchpad.net/ubuntu/+source/gtk-sharp2/+bug/884035/comments/14
Simply modify the "app.config" file and change the content for this:
<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v4.0"/></startup></configuration>
Recompile the proyect and now work fine.