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

前端 未结 4 730
天命终不由人
天命终不由人 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:16

    This program help you http://www.codeproject.com/KB/dotnet/Extracting_Embedded_Image.aspx

    0 讨论(0)
  • 2020-12-18 09:17

    ILSpy should do this job - see features at http://wiki.sharpdevelop.net/ILSpy.ashx and the screenshot below.

    screenshot

    0 讨论(0)
  • 2020-12-18 09:22

    JustDecompile can do that. You can right-click on a resource and select Save from the context menu.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题