[Mono-osx] Invalid IL code in System.ComponentModel.Composition.Hosting.AssemblyCatalog:.ctor (System.Reflection.Assembly): method body is empty.
m.j.hutchinson at gmail.com
Mon Feb 27 22:01:52 UTC 2012
On 20 February 2012 22:23, zhhzhang <zhihao.zhang at ni.com> wrote:
> My MonoDevelop version is 220.127.116.11 and runtime version is 2.10.8. I want to
> use MEF in my project, so System.ComponentModel.Composition is referenced.
> An exception is thrown in below code:
> AssemblyCatalog catalog = new AssemblyCatalog(typeof(Session).Assembly);
> And the content of exception is:
> Invalid IL code in
> (System.Reflection.Assembly): method body is empty.
> What's problem with my code? Or is it a bug in MonoDevelop? Thanks in
What kind of application? Are you using the linker?
More information about the Mono-osx