0

I am doing some clean up/ restructuring on my code (C#) were I move my classes in the tree structure. I am looking for a way to update all namespaces to the default ones (like projectname.rootFolder.ChildFolder).

I know that there are some ways to do it one by one like in this old post but I am looking for a clean simple update way. I wish there was something like "right clicking on the folder and clicking on update namespace!" but there is not.

Anyone knows any add-on/ easy way to do it?

Community
  • 1
  • 1
Ashkan S
  • 10,464
  • 6
  • 51
  • 80

1 Answers1

1

Resharper is a tool to work on legacy code. Try to use this tool. Right click on the folder> go to refactor and then select adjust Namespaces

enter image description here

Ashkan S
  • 10,464
  • 6
  • 51
  • 80
Murtoza
  • 171
  • 9