Does anyone know a tool to remove redundant using statements from classes or the whole solution?
using
I am using Refactor! addin, which has the smart tag "move type for a single file", but it accepts all using sentences from the source class with it.
PowerCommands for Visual Studio updates the default VS.NET 2008 Remove Use feature for the entire project or solution.
I use it all the time. It also has many other useful features - check it out.
Best of all it is FREE.
VisualStudio 2008 does it out of the box.
Just right-click in the code window → Organize Usage → Delete Unused Uses.
You can customize the key combination for this, as described here .
Resharper does this pretty well.
ReSharper does this.