I had some very specific things to do in my last project that required coding a few things in MSIL and injecting it into an assembly. I did the job with ILASM, ILDASM and notepad. I was in a hurry so I wasn’t able to search for a better or more elegant way to do it. However, a few days later, I searched for low level tools that could help me in the future with MSIL related tasks for the Microsoft.NET Framework. I found some interesting things:
* ILIDE#: a complete IDE to compile MSIL assembler to an assembly. It even has debugging support!
You can read more about it here:
* Mike Stall’s tool to allow inline MSIL in C#: the MSIL code is injected between #if #endif directives and then injected in the resulting assembly using a post-build step.
For more information visit:
* Craig Skibo’s Visual IL language service project with source code! He provides the full source code to integrate IL support in visual studio.
Here is the post with more information about it:
* Deblector: a plugin for reflector to support debugging an assembly. For example, you can attach to a running process and set a breakpoint in a framework method in order to see what really happens. Awesome stuff even if it’s in alpha stage.
More information about deblector here:
I tried it but it didn’t work here. Maybe it was because the current version of reflector is newer than the one used to test the latest version of deblector but definitely I’ll keep an eye on this project!