Remove unused references

后端 未结 6 1599
你的背包
你的背包 2021-01-01 10:50

I want to know if any tool exists for removing unused references (not unused using directives) within a .NET C# project.

6条回答
  •  我在风中等你
    2021-01-01 11:07

    JetBrains Resharper adds a menu item Remove Unused References to the References node's context menu in the Solution Explorer.

    When you click it, it'll scan you project and list references which can be removed. You can further select which ones you want to remove.

提交回复
热议问题