What's the best way to do a bulk namespace rename on a large c# application?

后端 未结 7 1175
旧时难觅i
旧时难觅i 2020-12-15 15:41

First, a little background.

Currently namespaces and assemblies in our codebase (~60 assemblies, thousands of classes) looks like

WidgetCompany.Depar         


        
相关标签:
7条回答
  • 2020-12-15 16:05
    • Open a random class in [WidgetCompany.Department.Something]
    • Edit->Find and Replace->Replace in Files
    • Type "WidgetCompany.Department.Something" in FindWhat area
    • Type "NewCompany.Something" in Replace with area
    • Select Current Project in Look in area.
    • Replace All
    0 讨论(0)
提交回复
热议问题