Hi All,
I'm slightly confused by the information floating around out there. When creating a Xamarin.Mac (unified) application, is the version of mono that gets bundled with the package the current version installed on the build machine, or is it a version that is shipped with Xamarin? This point is very important as I am trying to hammer down a HttpWebClient random disconnect error that appears to have been resolved in Mono 5.12.
-Isaiah
Seems like I've answered my own question again, looks like there are several settings that need to be configured in the make.config file to ensure the build targets the correct version of mono. Can anyone confirm that this is true? If this is true, it will likely just be easier to grab the last good build using 5.12 from Xamarin macios repo Jenkins build chain. I'm going to go digging but if anyone can link it that would be greatly appreciated as I really don't want to bundle Mono 5.14 (what Xamarin.macios master is currently targeting) with my app as it is unreleased.
Answers
Further research has suggested the following: Xamarin.Mac uses msbuild from the machine installed Mono however lib mono is shipped with Xamarin.Mac and in order to use a recent version of libmono, Xamarin.Mac needs to be compiled against it. Source: https://medium.com/@donblas/the-moving-parts-of-xamarin-mac-4d9b9b288043
My question has now become the following, in order compile Xamarin.Mac against mono 5.12 is it as simple as installing Mono 5.12, syncing down the Xamarin.macios repo and compiling it on the same machine?
-Isaiah
Seems like I've answered my own question again, looks like there are several settings that need to be configured in the make.config file to ensure the build targets the correct version of mono. Can anyone confirm that this is true? If this is true, it will likely just be easier to grab the last good build using 5.12 from Xamarin macios repo Jenkins build chain. I'm going to go digging but if anyone can link it that would be greatly appreciated as I really don't want to bundle Mono 5.14 (what Xamarin.macios master is currently targeting) with my app as it is unreleased.
So this a question as much about hacking on Xamarin.Mac (thus https://gitter.im/xamarin/xamarin-macios is a good place), but: