I raised a bug with Xamarin regarding this: https://bugzilla.xamarin.com/show_bug.cgi?id=45574. As of time of writing there has been no response to this ticket.
In summary:
I have had to revert back to a previous release.
v4.4.2 didn't work either so I went back to v4.3.2
(from https://download.mono-project.com/archive/).
I don't know if this bug is view-able publicly, so the details are as follows;
I am installing Mono v4.6.1.3 on a clean (brand-new) instance of OSX
Sierra (Virtual Machine). There is no other software installed other
than that included the OSX Sierra. I have not run any security
updates.
Prior to installation:
- I have enabled viewing of hidden files
- I have downloaded the 4.6.1.3 installer from http://www.mono-project.com/download/
- The folder /usr/local/bin
exists (See [1] on attachement)
I have successfully run the installation package choosing all the
default options (See [2] on attachment)
No files or links have been created in the /usr/local/bin
folder
From the command line;
- mono --version
throws an error: -bash: mono: command not found
- which mono
returns nothing (see [3] on attachment)
I have to change folders to get this working:
- cd /Library/Frameworks/Mono.framework/Versions/Current/Commands
- ./mono --version
returns: "Mono JIT compiler version 4.6.1 (mono-4.6.0-branch-c8sr0/abb06f1 Fri Sep 23 19:24:23 EDT 2016)"
This is different behaviour to previous versions, for example;
Restored VM to "clean" state
- Installed v4.2.4 Mono package (downloaded from http://download.mono-project.com/archive/)
- The /usr/local/bin
folder is populated with links during installation
Once the 4.2.4 installer has completed I can successfully run the
following without changing folders (i.e. from /Users/Username
);
- mono --version
from terminal returns: "Mono JIT compiler version 4.2.4 (explicit/71b88f3 Thu May 5 17:25:51 EDT 2016) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
www.mono-project.com"
- which mono
returns "/usr/local/bin/mono"