How can I extract images from the .resources file created by a decompile of a .NET assembly?

前端 未结 4 731
天命终不由人
天命终不由人 2020-12-18 08:59

I am working on recovering the source for an application for a client of mine. I have managed to recover the application code using .NET Reflector. But now I want to neaten

4条回答
  •  天涯浪人
    2020-12-18 09:32

    You can save the .resources file and then use the resgen tool (part of the VS2010 tools) to convert it back into a .resx file, using a command line like:

    resgen foo.resources bar.resx
    

    The .resx can then be added to a C# project. Once you've done this, if you try to open the individual images, VS2010 will offer to extract them into a standalone image file.

提交回复
热议问题