Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

15
  • Tried it, but same IO exception. Commented May 12, 2011 at 18:47
  • @So - Assuming it's in the local assembly and set to Resource for it's build action, that should work. You may try UriKind.RelativeOrAbsolute, but I doubt that would make a difference. Commented May 12, 2011 at 18:51
  • @So - Also, if you have .NET Reflector, you can view your resources in that. That will tell you the path in the assembly and whether it's actually there. Commented May 12, 2011 at 18:53
  • Could you please explain how to use Reflector to achieve this? thanks. Commented May 12, 2011 at 18:55
  • @So - Open Reflector, select File>Open Assembly File, and open your assembly. Expand the top node and look for the Resources node, and expand that as well. There may be several entries, but double click on each. One will be a list of various resouces, with the first column being the path. Commented May 12, 2011 at 18:57