Bug in System.Reflection.Assembly.GetManifestResourceStream(String)

S

schneider

There seems to be a Bug in
System.Reflection.Assembly.GetManifestResourceStream(String)

If you call it from a Shared (Static in C#) user method it fails but does
dont throw an exception, change the user method to non shared/static it
works. I think its a security check its failing on. Would have saved me some
time if it just threw an exception rather than eating it.

Oh: MSF Ver: 1.1

Thanks,

Schneider
 
S

schneider

Also the method does not raise an exception when a resource is not found, so
you don't know specificly why it failed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top