473,803 Members | 2,807 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ILDASM

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.
Nov 16 '05 #1
3 6228
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\B in.

"Papanii" <pa*****@somuah .com> wrote in message
news:O0******** ******@TK2MSFTN GP12.phx.gbl...
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.

Nov 16 '05 #2
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\B in

hope this helps

chris
"Papanii" <pa*****@somuah .com> wrote in message
news:O0******** ******@TK2MSFTN GP12.phx.gbl...
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.

Nov 16 '05 #3
Thanx a lot guys..
--Papanii

"Chris" <ct******@hotma il.com> wrote in message
news:#V******** *****@tk2msftng p13.phx.gbl...
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\B in

hope this helps

chris
"Papanii" <pa*****@somuah .com> wrote in message
news:O0******** ******@TK2MSFTN GP12.phx.gbl...
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.


Nov 16 '05 #4

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

Similar topics

1
3033
by: Kamy Terminator | last post by:
Hi, I would like to open ILDASM, programatically. I could use System.Diagnostics.Process.Start("....\ILDASM.eXE"); But in that case i'll have to hard code the path... which i dont want to.... any ideas on how 2 go bout doing this???
1
2044
by: Paul Cotter | last post by:
I have installed .Net 2.0 on one PC, and 1.1. and 2.0 on another, as well has VS C# 2005 Express on both. Reference books refer to ildasm.exe, which exists solely in the 1.1 SDK. What is the .Net 2.0 SDK equivalent? AFAICT the 1.1 ildasm will not work on 2.0 generated exes or dlls. I also see frequent references in documentation to mscorlib.dll. This file does not exist on either machine. Does that mean that .Net 2.0 grabs everything...
4
1526
by: FDude | last post by:
Hello folks: I am just starting to delve into the DUMPS from the ILDASM utility. Can I do anything useful with the outputted IL code? Can someone give me some references to working with .IL files? Thanks
6
1759
by: Wayne M J | last post by:
When dealing with managed code it displays everything well, but I am curious how ildasm handles the `binary` when it encounters a block of native ML.
1
1256
by: JLW | last post by:
Now, all these companies are making products that can crash ildasm, thus preventing assemblies from being disassembled. Is there specific code I can add to my assembly to do this? Also, I read about a /owner option for ilasm that appears to only have been in the BETA version of the framework. Why was this not included? It seems it would've provided some level of ildasm protection. Thanks, JLW
2
1370
by: Larry Serflaten | last post by:
I've added ILDASM to my Tools menu and when I click on it, I get a message box prompting me to build the command line. There is a browse button on top that brings up a list of items I can pass to ILDASM in the command line, but none of them seem to point to the PE file of my project. Is there some way to make this work from that
9
2588
by: VeNoM00 | last post by:
ILDasm retrieves the MSIL code of an assembly (exe or dll). So everyone can obtain my code! I don't like this thing! Can I prevent this?
5
4194
by: gpsmobiler | last post by:
Hi, I found through a lot of exhausting searching, that the following C# code will cause the IL code below: const byte ICON_MONO12BY12 =0; ....... IL-file.... .field literal private static unsigned int8 'a' = uint8 (0)
0
897
by: guy | last post by:
i want to look at some dlls generated by a web app i am working on with ildasm however all the dlls generated in the temporary directory get renamed to App_Web_.dll, similarly the vb source files are also renamed. given the number of dlls i dont want to open each up in turn hoping it is the one i want to look at. is there a recommended way to look at web app dlls using ildasm?
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10550
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10317
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9125
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7604
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3799
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2972
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.