开发者

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 som开发者_如何转开发e 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.


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜