Extracting resources ...

G

gbraux

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
 
K

Kevin Spencer

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/li...cemanager.createfilebasedresourcemanager.aspx

ResourceManager Class:
http://msdn2.microsoft.com/en-us/library/system.resources.resourcemanager.aspx

--
HTH,

Kevin Spencer
Microsoft MVP
Logostician
http://unclechutney.blogspot.com

There is a madness to my method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top