I do it this way:
- Ctrl + Shift + H;
- Search expression (Find what): "using Windows;", or "namespace Windows"
- Replace with (Replace with): "using Novonomedenamespace;" (attention to keeping the semicolon signs at the end), or else "namespace Novonomedenamespace";
- Find in (Look in): Entire solution (Entire Solution).
Some tools do it for you, like Resharper, but it’s not free, so that would be the no-cost way.
About Assembly Name and Default Workspace:
The reasoning is the same. First change the names in the properties, then run the procedure described above, because the renaming of the namespaces is not automatic.
If you changed the name of the project, did not change the
namespace. Which one do you want to actually change? Give more details of how the project is going, post a screenshot of it, some piece of code that is relevant, ponde is giving error.– Maniero
I put a print of the places I want to change. If I change these places, from the error in the project in general, it does not compile.
– Gabriel Bernardone
Give examples of errors presented.
– Maniero