I have opened assembly with reflector and saved some .resources files to my hard drive. There is some bitmaps in there, how can I get them from saved .resources file? I'd like to save them as image (.bmp) file via code o开发者_Python百科r some program.
check this http://support.microsoft.com/kb/324567
OR check this
using System.Resources;
using System.Reflection;
ResourceManager rm = new ResourceManager("YourProgramName.ProgramResources",
Assembly.GetExecutingAssembly());
rm.GetObject("my_icon_name");
You could try using the PowerCommands for Reflector and save the resources as a .resx file - then open it in Visual Studio.
精彩评论