Home All Groups Group Topic Archive Search About

Extracting resources ...

Author
5 Dec 2006 3:09 PM
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

Author
5 Dec 2006 3:59 PM
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/library/system.resources.resourcemanager.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.

<gbr***@supinfo.com> wrote in message
Show quote
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
>

AddThis Social Bookmark Button