473,387 Members | 1,579 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

.net resource extractor

I need to extract some embedded resources back to disk from a .net
assembly.

What tool do I need, and where do I get it?

Nov 22 '05 #1
6 6828
Try reflector and / or resourcer: http://www.aisto.com/roeder/dotnet/

HTH,
Kent

<is****@yahoo.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
I need to extract some embedded resources back to disk from a .net
assembly.

What tool do I need, and where do I get it?

Nov 22 '05 #2
is****@yahoo.com wrote:
I need to extract some embedded resources back to disk from a .net
assembly.

What tool do I need, and where do I get it?


In addition to Kent's reply, ildasm will also extract resources if you
run from the command line:

ildasm /text /out:test.il test.dll

Of course you can write your own code to do this. look up
Assembly.GetManifestResourceStream and related functions

Richard
--
http://www.grimes.demon.co.uk/workshops/fusionWS.htm
http://www.grimes.demon.co.uk/workshops/securityWS.htm
Nov 22 '05 #3
I tried both of them. Reflector lets you extract all the resources as
a big wad, which is no more helpful than if I hadn't extracted them at
all. Resourcer lets you add things TO a resource file, but it won't
take them out. Neither program is any help.

Nov 22 '05 #4
My version of reflector lets you both view and extract individual resources.
I have the latest version since it auto updates.

<is****@yahoo.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
I tried both of them. Reflector lets you extract all the resources as
a big wad, which is no more helpful than if I hadn't extracted them at
all. Resourcer lets you add things TO a resource file, but it won't
take them out. Neither program is any help.

Nov 22 '05 #5
Unless you're talking about extracting individual resources from an embedded
resource file (as opposed to individual resource files). In that case, see
Richard's suggestion.

"Kent Boogaart" <ke****@internode.on.net> wrote in message
news:eC****************@TK2MSFTNGP14.phx.gbl...
My version of reflector lets you both view and extract individual
resources. I have the latest version since it auto updates.

<is****@yahoo.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
I tried both of them. Reflector lets you extract all the resources as
a big wad, which is no more helpful than if I hadn't extracted them at
all. Resourcer lets you add things TO a resource file, but it won't
take them out. Neither program is any help.


Nov 22 '05 #6
Kent Boogaart wrote:
Unless you're talking about extracting individual resources from an
embedded resource file (as opposed to individual resource files). In
that case, see Richard's suggestion.


Well, if you have a .resources file for compiled resources you can
decompile with resgen (this tool both compiles and decompiles
resources):

resgen test.resources test.resx

Again, this is done with various classes in the System.Resources
namespace, so it is relatively easy to write your own.

Richard
--
http://www.grimes.demon.co.uk/workshops/fusionWS.htm
http://www.grimes.demon.co.uk/workshops/securityWS.htm
Nov 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Danny Pressley | last post by:
I have a VS.NET 2003 Visual C++ MFC Application Project in which I added a new resource file, I then added an icon to this new resource file and did a rebuild and got the following error: "fatal...
5
by: John Perks and Sarah Mount | last post by:
When handling resources in Python, where the scope of the resource is known, there seem to be two schools of thought: (1) Explicit: f = open(fname) try: # ... finally: f.close()
1
by: _BNC | last post by:
I've been looking for a couple weeks for a regex expression that will extract text from html in a form that will look like IE screen output. I'm sure one of you guys hid it somewhere as a joke, but...
3
by: Rogerio Jun | last post by:
Can I copy a embedded resource icon from a DLL to ohter DLL ? Rogerio
0
by: Johann Blake | last post by:
I'm having trouble grasping how ASP.NET correctly locates resources. There is plenty of documentation on this subject but some things are not clear at all. In my ASP.NET application, I have...
0
by: Vijay | last post by:
h any know how the website extractor tool works thanks & regard Vijay
23
by: Randy | last post by:
Since these operators can't be member functions, and since friend functions can't be declared virtual, how do I make my inserters and extractors polymorphic? --Randy Yates
7
by: craig | last post by:
....quick question for anyone who might have some experience with .net resource files in VS 2003. I have an application that is not localized, but I would still like to be able to place all of...
12
by: TS | last post by:
i have a need to possibly enable mutli language support. What benefit do i get by using a resource file instead of a custom xml solution? thanks!
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.