473,486 Members | 1,953 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Getting MSIL code from VS.NET

Hi All

I can't seem to find anything about this but is there a way to get VS.Net to compile into ASCII MSIL rather than a binary assembly? Would I have to use the command line compiler to do this?
Nov 16 '05 #1
2 2135
Alex Fennell wrote:
Hi All,

I can't seem to find anything about this but is there a way to get VS.Net to compile into ASCII MSIL rather than a binary assembly? Would I have to use the command line compiler to do this?


As far as I know, the command line compilers won't generate an MSIL
listing either. You can use "ildasm /TEXT" or "ildasm /OUT=filename" to
get an MSIL listing.

Drop the ildasm command into your makefile or a "post-build event" if
you're using VS.NET 20030 (or a makefile project that's dependant on
your real project if you're using VS.NET 2002).

--
mikeb
Nov 16 '05 #2
Alex Fennell wrote:
Hi All,

I can't seem to find anything about this but is there a way to get VS.Net to compile into ASCII MSIL rather than a binary assembly? Would I have to use the command line compiler to do this?


Here's how I added the ability to fire-up ILDASM for the current
project's executable:

Tools ->
External Tools... ->
Add ->
Title: ILDASM ->
Command: ... ->
C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Bin\ildasm.exe ->
Arguments: $(TargetPath) ->
OK
Nov 16 '05 #3

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

Similar topics

2
278
by: Alex Fennell | last post by:
Hi All I can't seem to find anything about this but is there a way to get VS.Net to compile into ASCII MSIL rather than a binary assembly? Would I have to use the command line compiler to do this?
3
254
by: Alex Fennell | last post by:
Hi All I can't seem to find anything about this but is there a way to get VS.Net to compile into ASCII MSIL rather than a binary assembly? Would I have to use the command line compiler to do this?
3
319
by: Alex Fennell | last post by:
Hi All I can't seem to find anything about this but is there a way to get VS.Net to compile into ASCII MSIL rather than a binary assembly? Would I have to use the command line compiler to do this?
2
281
by: Alex Fennell | last post by:
Hi All I can't seem to find anything about this but is there a way to get VS.Net to compile into ASCII MSIL rather than a binary assembly? Would I have to use the command line compiler to do this?
0
7099
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,...
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7175
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...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7319
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5430
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,...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
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 ...
0
262
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...

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.