It this even possible? Are there any free tools?
Best free tool for the job is ILSpy, but it runs on Windows. This gives you a limited list of options:
create a windows virtual machine (with virtualbox or vmware player) and run it in there
install WINE on mac, to allow you run .exe files.
get visual studio for mac and use ikdasm
if you feel hardcore, open it in a disassembler ;)
Being an IT guy myself, I would go for the first solution. Check them all out briefly and go for one!
You can use Jetbrains' Rider. It has a 30 day free trial period.
- Open Rider and open or create a C# project
- Add a dependency to the .exe file (naturally, this also works for .dll).
- In a class in your project, import the package and type the class you want to inspect.
- Do Command+click or Command+B on the class name to trigger Rider's decompile option. Confirm if necessary.
The disadvantage is that we have to repeat step 4 for each class we want to decompile.