KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I was trying to regenerate an exe by doing a round trip of ILDASM and then ILASM on a C# executable file. As I understand, the .il file generated by ILDASM is sufficient to generate .exe back. I am curious that why .NET framework is designed to use an exe file for deployment instead of deploying a .il file to the users. Could not c# compiler generate .il file and the JIT compiler use the .il file directly as an input? Is it simply because operating system needs .exe extension to invoke the loader, or is it because of file size or performance considerations? PS: The question is not of practical significance. I am asking this question to make my concepts more clear, as I am sure I am lacking a lot.
Tags (comma-separated)
Save Edits
Cancel