.resx file data inaccessible in Visual C#

Posted by dsp_099 on Stack Overflow See other posts from Stack Overflow or by dsp_099
Published on 2014-08-25T10:16:23Z Indexed on 2014/08/25 10:19 UTC
Read the original article Hit count: 144

Filed under:
|
|

What I'm trying to do: include some files along with the executable to extract them later.

I have two projects, both with a Resource1.resx file (and some resources included from disk).

  • In one project, I can use File.WriteAllBytes(path, Resource1.Image); to dump the resource to disk.
  • In another, Resource1 is does not exist.

I've done this before but all I can find is information about localizations (?) when I search MSDN for how to work with Resources.

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio