dotPeek and NGEN native image files

I've setup my dotPeek configuration to decompile .NET framework assemblies but I've noticed certain ones fail to decompile because it appears that the application is loading native images instead of IL assemblies. The ones I'm having trouble with are:

When dotPeek attempts to generate pdb files for the symbol server instead of looking for System.IO.dll it's looking for, which from what I understand isn't in the GAC but in a separate NIC (native image cache) instead. In any case I'm not interested in decompiling the native image file because, well, you can't. How do I coerce dotPeek into using the System.IO.dll (which does appear to be in the GAC) rather than the


Some problem here with


Same for System.Threading(.ni).dll, Reflection, Collections, Linq, Threading, ...


Please sign in to leave a comment.