Buy Me a Coffee

Buy Me a Coffee!

Monday, January 2, 2017

Helping JustDecompile decompile .NET Core applications

When you first open a .NET Core application in JustDecompile, you will get some requests to define where specific assemblies that are referenced by the application live with the prompt "Please specify System.Runtime 4.1.0.0 location":
Prompt for assembly location by JustDecompile
I had a bit of a hard time finding the file it wanted, so I wrote this to help me remember and hopefully shortcut someone else's search.  The place that I referenced was in my
C:\Users\<username>\.nuget\packages\
directory.  Once there, you can find the package for the missing reference and dig down to find the assembly.  For the above prompt, I found mine in:
\System.Runtime\4.1.0\lib\net462\System.Runtime.dll