I disassebmled application using command "ildasm MyApp.exe /output:MyApp.il", then it generated some resource files and MyApp.il. After it i copied all generated files and .il file into ilasm.exe's folder. After built it using command "ilasm MyApp.il" it generated MyApp.exe file, but with no icon. Help me please to restore icon, thanks.
You need to use the /resource: file.res to add the icon back using Ilasm.exe (IL Assembler).
Excerpt from Microsoft:
Includes the specified resource file in *.res format in the resulting .exe or .dll file. Only one .res file can be specified with the /resource option.