Corlib does not sync when creating Unity games with mdtool on OSX

Unity3D, a popular game engine, packs a version of mono (and monodevelop) with its installation. I recently installed Xamarin Studio, passionate about the game. Later, I followed some online tutorials for creating single SLN files through the command line from the sln directory:

/Applications/Unity/MonoDevelop.app/Contents/MacOS/mdtool build -t:Build 

I got this error:

 Rewriting config files... Corlib not in sync with this runtime: expected corlib version 636, found 96. Loaded from: /Applications/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Versions/2.10.2/lib/mono/2.0/mscorlib.dll Download a newer corlib or a newer runtime at http://www.go-mono.com/daily. 

I thought that Xamarin Studio brought with it a new mono executable version, and that was version 636. In mdtool, I ran the expected version 96, because Unity comes with an older version of mono (.net 3.5, I think?).

So, I uninstalled Xamarin Studio and re-installed Unity to hopefully overwrite the mono executable version of the old one. Still get the error.

I noticed above that mscorlib.dll is not extracted from Frameworks/Mono.framework/Versions/Current , but 2.10.2. Why is this? How can I do this assembly? More information can I give you?

+8
mono unity3d macos
source share

No one has answered this question yet.

See related questions:

6
Webapplication.targets is missing when creating an MVC4 project in MonoDevelop on OS X 10.7.4
4
Xamarin ASP.NET MVC 3 project gives a System.UnauthorizedAccessException error
2
Mono merge failed while creating installer for osx
2
Xbuild / Mono errors when creating your own monobjc application
one
The ConvertResourcesCases task unexpectedly failed. Xamarin Android build
one
Mono - Corlib out of sync with this runtime
0
MonoMac Packaging Error
0
[Unity-Windows-Build] Cannot find type "X" in module "Y"
0
Mono for Mac OS X Mavericks
0
How to create x86_64 GTK # applications on Xamarin studio on macOS?

All Articles