Anees Haider
Anees Haider

Reputation: 239

retrieving resource from dotnet assembly

I created a very simple application a long time ago, in dot net. Now I need to rewrite the application with some additions, but I lost the code of previous version but I have the binary file. There is some quality images in previous version as resource within assembly. How can I retrieve those images from assembly, to be used in new version.

Thank you.

Upvotes: 2

Views: 446

Answers (2)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038710

You may take a look at the following article. You may also checkout this post for extracting images programatically.

Upvotes: 1

Teoman Soygul
Teoman Soygul

Reputation: 25732

Use Reflector trial and browse to the resources folder inside the assembly. Then you can extract any resource as you wish. Right click on any resource file ans select "Save as", which will generate a ".resources" which you can then include in your new project.

Upvotes: 1

Related Questions