Possible Duplicate:
Tools for finding unused references
I inherited a brownfield project and am in the process of refactoring the code to support new requirements. The number of assembly references has grown considerably over time, and I would like to know if any references are no longer being used. What is the best approach to this other than dropping the reference and trying to re-compile the code.
You can do this with Resharper by JetBrains.
Just right click on a reference, and choose "Find Dependent Code". It will search the project and tell you exactly what is referencing an assembly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With