CLR

G

Guest

I am new to .NET and going thru some books - these are the questions I have
1) When somebody says the process loads first CLR - "In .NET, executable
code must be loaded into the CLR to be managed while running" - what does it
mean? Is CLR a DLL? If so what is the name?

2) There used to be depends.exe in Visual Studio earlier that let us walk
thru all dlls loaded in an application? What is its equivalent in Visual
Studio 2003?

Thanks for the help
 
R

Richard Blewett [DevelopMentor]

1. The CLR is most obviously the DLL mscoree.dll (in system32) but this is meerly a shim to load either the server or workstation versions mscorsvr.dll or mscorwks.dll.

2. AFAIK there is not utility that MSFT ship that does the equivelent of depends.exe however it would not be hard to write using the Assembly member GetReferencedAssemblies. If you are trying to track load faiures then the Fusion Log Viewer (fuslogvw.exe) can help to some degree but until the next version of .NET (version 2.0) its not the most user friendly tool in the world.

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

I am new to .NET and going thru some books - these are the questions I have
1) When somebody says the process loads first CLR - "In .NET, executable
code must be loaded into the CLR to be managed while running" - what does it
mean? Is CLR a DLL? If so what is the name?

2) There used to be depends.exe in Visual Studio earlier that let us walk
thru all dlls loaded in an application? What is its equivalent in Visual
Studio 2003?

Thanks for the help
 

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