Removing redundant using statements

c#, using-statement, visual-studio

Solution

PowerCommands for Visual Studio upgrades the default VS.NET 2008 functionality of "Remove Usings" to an entire project or solution.

I use it all the time. It also has a lot of other useful features- check it out.

Best of all it is FREE.

Problem

Does anyone know of a tool to remove redundant `using` statements from classes, or a whole solution? I'm using the Refactor! addin which has a "move type to separate file" smart tag, but it takes all the `using` clauses from the original class with it.

Original source