Is there an easy way to find unused assembly references in my .NET project?

.net, c#, visual-studio, visual-studio-2008

Solution

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.

Problem

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.

Original source

Related problems