|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Extracting resources ...Hello,
I have extracted a ".resources" file form a .net 2.0 application (using ildasm). What i whant now il to export data contained in this .resouces file (xaml files *.baml). The problem is that theses files are not typed as String in the resources file, but as System.IO.PinnedBufferMemoryStream ... So I can't export them using tools like Lutz Roeder's Resoucer ... Is there a way to export, modify and import back my xaml files ? Thanks, Guillaume BRAUX Hi Guillaume,
Here are some "resources" that should help you with your task: Retrieving Resources in .Resources Files: http://msdn2.microsoft.com/en-us/library/khyt7e7y.aspx ResourceManager.CreateFileBasedResourceManager Method: http://msdn2.microsoft.com/en-us/library/system.resources.resourcemanager.createfilebasedresourcemanager.aspx ResourceManager Class: http://msdn2.microsoft.com/en-us/library/system.resources.resourcemanager.aspx -- Show quoteHTH, Kevin Spencer Microsoft MVP Logostician http://unclechutney.blogspot.com There is a madness to my method. <gbr***@supinfo.com> wrote in message news:1165331341.642613.163320@79g2000cws.googlegroups.com... > Hello, > > I have extracted a ".resources" file form a .net 2.0 application (using > ildasm). > What i whant now il to export data contained in this .resouces file > (xaml files *.baml). > > The problem is that theses files are not typed as String in the > resources file, but as System.IO.PinnedBufferMemoryStream ... So I > can't export them using tools like Lutz Roeder's Resoucer ... > > Is there a way to export, modify and import back my xaml files ? > > Thanks, > > Guillaume BRAUX > |
|||||||||||||||||||||||