This article builds on and updates a number of existing articles which attempt to describe the build process for Mono on Windows.
If you are just looking for Mono 3.4.0 binaries to use, I have provided the resulting binaries from this walk-through here.
The baseline instructions from the Mono project can be found here.
In theory these should be enough to get Mono compiled but, as ever in the real world, things are slightly more complex. As a result others have written pieces on how to build Mono, and I have found "Building Mono on Windows: The Final Battle" particularly useful.
That said, these articles are now a few years old and I ran into various issues building Mono which I have attempted to address with the walk-through below,
We are going to look both at building from the current, at the time of writing, Mono release tarball (3.4.0) and then at building the "latest and greatest" directory out of the git repository
The sequence of events is as follows,
Install pre-compiled Mono
Install & configure Cygwin
Retrieve and extract tarball Mono Sources
Build and Mono
Modify Cygwin/Mono to address any build failures
Install Mono and modify installation
Fix-ups/workarounds for Xamarin Studio
Retrieve and build git Mono Sources
This walk-through has been tested on an x64 machine running Windows 8.1.
Install pre-compiled Mono binaries
A stable, pre-compiled build of Mono 3.2.3 can be downloaded here. Download and install this.
Check that it runs by opening a Mono command prompt from the start bar and typing
You should see Mono come up and the 3.2.3 version shown
C:\Program Files (x86)\Mono-3.2.3>mono --version
Mono JIT compiler version 2.10.9 (tarball)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-pro
Notification: Thread + polling
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)
C:\Program Files (x86)\Mono-3.2.3>
Read more: Codeproject