[Mono-dev] Diagnosing "Invalid IL code"

Alexander Köplinger alexander.koeplinger at xamarin.com
Thu May 12 12:44:51 UTC 2016


And if that doesn't help, you might want to take a look at Roslyn as there
likely won't be any work on Mono's VB compiler going forward:

$ nuget install Microsoft.Net.Compilers -Version 1.2.1

$ mono ./Microsoft.Net.Compilers.1.2.1/tools/vbc.exe hello.vb /noconfig


- Alex

2016-05-12 8:05 GMT+02:00 Timotheus Pokorra <
timotheus.pokorra at solidcharity.com>:

> 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,
>
> Timothues
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20160512/ff07f093/attachment.html>


More information about the Mono-devel-list mailing list