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

时光毁灭记忆、已成空白 提交于 2019-11-29 07:31:23
Clive Tong

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.

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

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!