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

  • Thread starter Thread starter schneider
  • Start date Start date
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
 
Also the method does not raise an exception when a resource is not found, so
you don't know specificly why it failed.
 
Back
Top