Search code examples
monodevelopxamarin-studio

Xamarin studio 5.7 won't run after installation


I installed the Xamarin studio for windows which is a bundle of MonoDevelop and GTK#. I double click and nothing happens.

First thing, this is the log from the IDE.

Second thing, Bug 10558 Is the same problem but unfortunately post dates back to 2013 which about version 4.0. The fix they mentioned which is updated MonoDevelop.Core.dll file did not work.

3rd thing, GTK# bin directory is added to the environment variable, a couple of posts on the internet says that something wrong with "Win32 DLL search path", unfortunately no steps to help.

4th thing, I tried Xamarin universal installer but I press continue and nothing happens.

Update: I have Windows 7 Professional 64-bit with .NET Framework 4.0 installed.

Update 2: It used to work with me before. I don't know what has changed after I formatted my PC few months ago. I found this link on Bug 10558 which might be helpful but I did not understand it. Also found this patch which I didn't know how to apply it.

Any help is appreciated.


Solution

  • The exception you meet, is a typical one when running binaries compiled against .NET 4.5 on a .NET 4.0 only system.

    Microsoft did move some key types between assemblies, which led to such exceptions, and there is no way to fix that except upgrading your system to .NET 4.5.

    For Xamarin/Mono guys, they should modify the installer to inform end users about this change. They should also update web pages, such as this MonoDevelop page, which still says 4.0 is enough (no, 4.5 is required),

    http://www.monodevelop.com/download/