Is there any way of removing unused references to assemblies, in a C# project, without the help of Resharper? The MSDN documentation does outline something for Visual Basic, but I couldn't find the same dialogs for C#.
+5
A:
There is no build in support in Visual Studio to find unused assembly references in a C# project.
A workaround is, to remove a possible unused assembly, compile the project and look if it compiles successfully. If it´s the case an unused assembly was removed. Otherwise the removed assembly was necessary and it should be added again.
To check what assemblies are used by other assemblies you can use NDepend.
Jehof
2009-09-22 08:42:34