Install specific Mono version

benrnz-sv
Tue, 17 Oct 2017 03:53:16 +0000
Builds

Hi,
This is related to the issue I raised here:

Weekly Virtual Machine / Stack updates - 2017.10.14 Changelog

I haven’t, as we’re days away from preparing a release. Our corporate policy is to not release production code built on beta components. So using a beta release of Vs4Mac is out of the question. Out of interest I’ve tried the beta stack and it works fine. The difference between the stable and beta Mono version is Stable (this fails to run unit tests): Mono version: Mono JIT compiler version 5.4.0.201 (2017-06/71277e78f6e Thu Sep 21 19:22:55 EDT 2017) Beta (this runs unit tests fine): M…

TLDR version of this: NUnit fails to run tests that use Moq or Castle Proxies - its a known bug in Mono.

Also related to the Slack discussion with @viktorbenei in #general.

To fix my issue the Mono version needs to be upgraded. I’ve done some testing and it appears the Mono version currently being used by the Xamarin beta stack fixes the issue.

Mono 5.4.0.0201 has the issue. This is the version that Vs4Mac from the stable channel installs.
It appears to be fixed in 5.4.0.212.

Is it possible to create a step/script to install a specific version of Mono?

Cheers

6 posts - 2 participants