In earlier versions of vs2010, there is an il disassembler (IL intermediate language viewer) in tools, but I want to use it directly in vs2012 using the following method:
1. Select Tools/external tools to open external tools
2. Click the "add" button on the right to fill in relevant parameters.
Title: ildasm
Command: installation path of ildasm.exe. Select the path on your disk as needed.
Parameter: select the path of the target file.
Initial Directory: target file directory
3. After adding the tool, you can view ildasm on the Tools tab.
4. Click tool/ildasm. The Confirmation window is displayed. Click OK.
Command Line Content: D: \ code \ CSHARP \ ildasm40 \ ildasm.exe "D: \ Users \ Documents \ Visual Studio 2012 \ projects \ consoleapplication1 \ mycollection \ OBJ \ debug \ mycollection.exe"
The first half of the command line is the installation path of my ildasm, and the second half is the path of my project.
5. Open the interface of the ildasm Tool
6. Double-click the method to be viewed and the Il code will pop up.
Attached: il discycler legend
Conclusion: I have not configured the command to view the Il information directly on the output tab card of.
For more detailed use, you can refer to: http://www.veryhuo.com/a/view/59534.html
Configure and view il in