I'm trying to retrieve the version of the current application with the following code:
var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
However it always returns "0.0.0.0";
My project is set to inherit its version from the solution, which is set to "2.2.2". I have also set the version under Project Options/Build/Mac OS X Application.