ILDASM

  • Thread starter Thread starter Papanii
  • Start date Start date
P

Papanii

Hi,
I am a newbi in C# and i was trying to use the ILDASM command to check
out the MSIL code of some compiled code. Unfortunatley I can't get it to
run. I get the error "Windows cannot find ILDASM". Does anyone have a
solution to this?

Thanx
--Papanii

p.s. I have visual studio .net 2003 installed on my machine.
 
The framework folders are not in the path by defailt. You can open the
VS.NET command window from within VS.NET and run the program direction (this
sets the correct enviornment variables for that session), or you can run the
command from the folder C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Bin.
 
one way around this is to add the path to ILDASM to your PATH environment
variable. go to start -> control panel -> system -> advanced tab ->
environment variables button. if you do not already have a PATH variable
under user variables then add a new one, and put the path below in the
value. if there is more than one path in the value, separate them with
semicolons.

C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin

hope this helps

chris
 
Thanx a lot guys..
--Papanii

Chris said:
one way around this is to add the path to ILDASM to your PATH environment
variable. go to start -> control panel -> system -> advanced tab ->
environment variables button. if you do not already have a PATH variable
under user variables then add a new one, and put the path below in the
value. if there is more than one path in the value, separate them with
semicolons.

C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin

hope this helps

chris
 
Back
Top