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  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to