xamarin-macios/tools
Rolf Bjarne Kvinge 33c1db4b68
Store the minimum mono version for Xamarin.Mac in one place only (Make.config) and bump it to 5.14. Fixes #4120. (#4695)
* Store the minimum mono version for Xamarin.Mac in one place only (Make.config) and bump it to 5.14. Fixes #4120.

I've verified that we fail at launch of running on 5.12, while 5.14 works fine
(to launch at least), so the minimum system mono version is _at least_ 5.14.

Fixes https://github.com/xamarin/xamarin-macios/issues/4120.

* [mmp] Load mono's version file instead of using pkg-config to get mono's version.

pkg-config will only get three parts of the version, while the version file
has all four parts.

This is important, since we're now verifying the four parts of the version
file, and without loading those four from the system, we'll fail builds like
this:

    error MM0001: This version of Xamarin.Mac requires Mono 5.14.0.136 (the current Mono version is 5.14.0).

because the three part version's fourth number is assumed to be 0.

* Only verify mono runtime version when running with system/dynamic mono.

There should be no need to verify the mono runtime version when embedding mono:

* If it's a mono we're shipping, something very bad happened in our
  build/package for it to be an invalid mono.
* If it's a system mono that's being embedded, then we verify in mmp at build
  time.

In the first scenario (a mono we're shipping), the problem is that the mono
we've built does not report back the full version number (with four parts) [1],
which means we'll fail any check whose requirements are identical for the
first three parts, and non-zero for the last.

[1] The fourth part of the version number is created/calculated when packaging
mono, and we're not packaging it.
2018-08-29 14:28:56 +02:00
..
apidiff [apidiff] Update XML references with 15.8 as the new base (master) (#4673) 2018-08-27 18:29:44 -04:00
common Store the minimum mono version for Xamarin.Mac in one place only (Make.config) and bump it to 5.14. Fixes #4120. (#4695) 2018-08-29 14:28:56 +02:00
install-source [Debugger] Copy the NSUrlSessionHandler src. Fixes #3724 (#4193) 2018-06-09 18:23:59 -07:00
linker [mtouch] Rename method that clashes with new method in base class to fix compiler warning. (#4516) 2018-07-27 17:06:27 +02:00
mlaunch Put a binary copy of mlaunch in macios-binaries instead of in Azure. Fixes #3316. (#3877) 2018-04-10 09:53:11 +02:00
mmp Store the minimum mono version for Xamarin.Mac in one place only (Make.config) and bump it to 5.14. Fixes #4120. (#4695) 2018-08-29 14:28:56 +02:00
mtouch [mtouch] Build using csproj instead of manual csc command. Partial fix for #4384. 2018-08-23 13:49:40 +02:00
.gitignore Add scripts to calculate API diffs and generated code diff between the current build and another revision. (#3447) 2018-02-13 07:47:47 +01:00
Makefile Put a binary copy of mlaunch in macios-binaries instead of in Azure. Fixes #3316. (#3877) 2018-04-10 09:53:11 +02:00
compare-commits.sh [compare-commits] Fix APFS check to check for functionality, not OS version. (#4057) 2018-05-09 14:36:25 +02:00
diff-to-html Add scripts to calculate API diffs and generated code diff between the current build and another revision. (#3447) 2018-02-13 07:47:47 +01:00