[Mono-list] a diffenrence between .Net & mono impl in System.Reflection
Rodrigo Kumpera
kumpera at gmail.com
Mon Jun 22 21:09:46 EDT 2009
Please fill a bug report with a test case so we can work on improving our
compatibility.
On Thu, Jun 18, 2009 at 12:59 AM, George Zhong <iie at 163.net> wrote:
>
> while porting application, I find an incompatible in
> Assembly.GetManifestResourceStream method
>
> in .Net GetManifestResourceStream(string) have to give full path of the
> resouce prefixed namespace even if it is called inside this namespace.
> or we have to use another parameter to locate the namespace:
>
> GetManifestResourceStream(typeof(aClassinThisNamespace), shortName);
>
> but in mono 2.4, we can use
>
> GetManifestResourceStream(shortName);
> inside the namespace, and giving fullname yields a runtime error.
>
> and seems we can also use
> GetManifestResourceStream(null, shortName);
>
> --
> View this message in context:
> http://www.nabble.com/a-diffenrence-between-.Net---mono-impl-in-System.Reflection-tp24086039p24086039.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090622/4f759b37/attachment.html
More information about the Mono-list
mailing list