The task is, there is a C # code, you need to get its IL code. For this, I understand use ildasm.exe disassembler. Honestly, it doesn’t work out \ I don’t understand how to make a command to transfer some file containing C # code and get a file with IL code at the output.
ildasm MyFile.exe /output:MyFile.il The first parameter is the path to the exe, the second parameter / output: the path to the creation directory of MyFile.il. It does not work for me to pass the whole path to the directory in the parameter, or I didn’t understand it that way. In addition, I look at examples of uses, it is impossible to transfer the .cs file with the code, not the .exe.
ildasmutility. Theildasmutility does not compile C # for you in exe / dll. - VladD