Remove unused namespaces across a whole project or solution at once

前端 未结 10 1992
夕颜
夕颜 2020-12-25 09:46

I know you can do it file by file.

Is there any way to do this in one step for all files in a project?

10条回答
  •  忘掉有多难
    2020-12-25 10:13

    For Visual Studio 2010 you can download the "Remove and Sort Using"extension from the Visual Studio Gallery.

    http://visualstudiogallery.msdn.microsoft.com/en-us/cb559aa8-d976-4cc2-9754-5a712f985d16

    Works Well for me

提交回复
热议问题