2016-05-26 11:48:46
Testing the WPF Project
MainWindow.xaml Code
MainWindow.xaml.cs Code
When learning WPF, want to verify: Delete the InitializeComponent () in the MainWindow.xaml.cs file;. Use Ildisassembler to view the assemblies generated by the project compilation. Check to see if you have the ILDasm tool in the VS2012 tool first.
If not, add it in external tools.
Note : In the parameter $ (TargetPath)/text/item; two "/" must be added with a space before it can be used.
The path where the command resides differs depending on the location of the ILDASM version. NET4.5 is stored in C:\Program Files (x86) \microsoft Sdks\windows\v8.0a\bin\netfx 4.0 Tools\ildasm.exe.
When ILDASM is installed, the ILDASM tool is selected in the tools, which then displays
Are you sure. Show:
If you delete the "/text/item" in the parameter, the ILDASM tool interface is displayed.
The record is complete. Hehe .....
How to view project compilation-generated assemblies in VS2012 using IL disassembler