[Mono-dev] Diagnosing "Invalid IL code"

Timotheus Pokorra timotheus.pokorra at solidcharity.com
Thu May 12 06:05:07 UTC 2016

Hello Gary,

On 12 May 2016 at 06:52, Gary Briggs <chunky at icculus.org> wrote:
> I have some code that, when compiled with monodevelop [latest in Ubuntu
> 15.10], throws an invalid IL code exception when run with mono. This same
> code, when compiled with VS2015, does not throw said exception when run
> with mono.

I just checked, Ubuntu 15.10 still had Mono 3.2.8.
You might want to try Ubuntu 16.04, which comes with Mono 4.2.1
Alternatively, install the latest Mono packages from Xamarin on Ubuntu
15.10: http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives

I hope this might solve your issues already,


More information about the Mono-devel-list mailing list