(332) 331-8677

How to Rename a Visual Studio 2019 Project

  1. Rename the main folder
  2. Open the solution file
  3. Rename the solution file and the project file
  4. Click save all
  5. Right-click Namespace and select Rename
  6. Check the boxes - Include Comments and Include Strings
  7. Click Apply
  8. Close Visual Studio 2017
  9. Rename the project sub-folder
  10. Open the solution file
  11. Delete the project file
  12. Right-click the solution - Add - Existing Project
  13. Select a Solution in the right column
  14. Ctrl + F
  15. Replace in Files
  16. Find What - Old Namespace
  17. Replace with - New Namespace
  18. Check options - Match case, Match whole word