I've a directory with a large number of dlls
. I need to find all those that reference a specific dll
.
I'm thinking about the following solution :
- Loop the assemblies and invoke each one with
ildasm
- Dump the
manifest
into a text file - Search the text files for the required assembly name.
Yet this solution feels immensely wrong to me. Is there a better way to achieve it?
You could write a small tool for that purpose, using Reflection to find the referenced assemblies: