开发者

retrieving resource from dotnet assembly

开发者 https://www.devze.com 2023-03-31 17:12 出处:网络
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

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

精彩评论

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

关注公众号