зеркало из https://github.com/mono/mail-archives.git
82 строки
4.2 KiB
HTML
82 строки
4.2 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE> [Mono-osx] Invalid IL code in System.ComponentModel.Composition.Hosting.AssemblyCatalog:.ctor (System.Reflection.Assembly): method body is empty.
|
||
|
</TITLE>
|
||
|
<LINK REL="Index" HREF="index.html" >
|
||
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=Re%3A%20%5BMono-osx%5D%20Invalid%20IL%20code%20in%0A%20System.ComponentModel.Composition.Hosting.AssemblyCatalog%3A.ctor%0A%20%28System.Reflection.Assembly%29%3A%20method%20body%20is%20empty.&In-Reply-To=%3CCAMga9iRqM4bT6HwTkRHUbtfP-OCF3rcSwL%2BVH%3DVA%3DMHfuo9CgQ%40mail.gmail.com%3E">
|
||
|
<META NAME="robots" CONTENT="index,nofollow">
|
||
|
<style type="text/css">
|
||
|
pre {
|
||
|
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
|
||
|
}
|
||
|
</style>
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||
|
<LINK REL="Previous" HREF="004790.html">
|
||
|
<LINK REL="Next" HREF="004791.html">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
<H1>[Mono-osx] Invalid IL code in System.ComponentModel.Composition.Hosting.AssemblyCatalog:.ctor (System.Reflection.Assembly): method body is empty.</H1>
|
||
|
<B>Michael Hutchinson</B>
|
||
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=Re%3A%20%5BMono-osx%5D%20Invalid%20IL%20code%20in%0A%20System.ComponentModel.Composition.Hosting.AssemblyCatalog%3A.ctor%0A%20%28System.Reflection.Assembly%29%3A%20method%20body%20is%20empty.&In-Reply-To=%3CCAMga9iRqM4bT6HwTkRHUbtfP-OCF3rcSwL%2BVH%3DVA%3DMHfuo9CgQ%40mail.gmail.com%3E"
|
||
|
TITLE="[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
|
||
|
</A><BR>
|
||
|
<I>Mon Feb 27 22:01:52 UTC 2012</I>
|
||
|
<P><UL>
|
||
|
<LI>Previous message: <A HREF="004790.html">[Mono-osx] Invalid IL code in System.ComponentModel.Composition.Hosting.AssemblyCatalog:.ctor (System.Reflection.Assembly): method body is empty.
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="004791.html">[Mono-osx] crashing when attempting to drag and drop from a table
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#4809">[ date ]</a>
|
||
|
<a href="thread.html#4809">[ thread ]</a>
|
||
|
<a href="subject.html#4809">[ subject ]</a>
|
||
|
<a href="author.html#4809">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
<HR>
|
||
|
<!--beginarticle-->
|
||
|
<PRE>On 20 February 2012 22:23, zhhzhang <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">zhihao.zhang at ni.com</A>> wrote:
|
||
|
><i> My MonoDevelop version is 2.8.6.5 and runtime version is 2.10.8. I want to
|
||
|
</I>><i> use MEF in my project, so System.ComponentModel.Composition is referenced.
|
||
|
</I>><i> An exception is thrown in below code:
|
||
|
</I>><i>
|
||
|
</I>><i>                        AssemblyCatalog catalog = new AssemblyCatalog(typeof(Session).Assembly);
|
||
|
</I>><i>
|
||
|
</I>><i> And the content of exception is:
|
||
|
</I>><i>
|
||
|
</I>><i> Invalid IL code in
|
||
|
</I>><i> System.ComponentModel.Composition.Hosting.AssemblyCatalog:.ctor
|
||
|
</I>><i> (System.Reflection.Assembly): method body is empty.
|
||
|
</I>><i>
|
||
|
</I>><i> What's problem with my code? Or is it a bug in MonoDevelop? Thanks in
|
||
|
</I>><i> advance.
|
||
|
</I>
|
||
|
What kind of application? Are you using the linker?
|
||
|
|
||
|
--
|
||
|
Michael Hutchinson
|
||
|
<A HREF="http://mjhutchinson.com">http://mjhutchinson.com</A>
|
||
|
</PRE>
|
||
|
|
||
|
<!--endarticle-->
|
||
|
<HR>
|
||
|
<P><UL>
|
||
|
<!--threads-->
|
||
|
<LI>Previous message: <A HREF="004790.html">[Mono-osx] Invalid IL code in System.ComponentModel.Composition.Hosting.AssemblyCatalog:.ctor (System.Reflection.Assembly): method body is empty.
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="004791.html">[Mono-osx] crashing when attempting to drag and drop from a table
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#4809">[ date ]</a>
|
||
|
<a href="thread.html#4809">[ thread ]</a>
|
||
|
<a href="subject.html#4809">[ subject ]</a>
|
||
|
<a href="author.html#4809">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
|
||
|
<hr>
|
||
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
||
|
mailing list</a><br>
|
||
|
</body></html>
|