I want to rename my namespace, MyProjectTest.Core
to MyProject.Test.Core
, but the Visual Studio 2017 refactoring tool doesn't let me insert .
into the name.
I do not want to do that manually, is there another option?
I want to rename my namespace, MyProjectTest.Core
to MyProject.Test.Core
, but the Visual Studio 2017 refactoring tool doesn't let me insert .
into the name.
I do not want to do that manually, is there another option?
It is correct, you can not use your keyboard key .
to enter a dot, however, you can use CTRL
+C
to copy the dot character (from this answer, if you want) and then insert the dot into the name with CTRL
+V
.
Note: Visual Studio 2017 will complain about invalid characters, but it will rename it anyway if you click apply:
MyProject
part in MyProject.Test.Core
will rename all instances of all namespaces started with MyProject
, not only MyProject.Test.Core
. And adding a dot to the new name will make undo quite hard. –
Hath Goto project properties and change the default namespace.
© 2022 - 2024 — McMap. All rights reserved.
.
? You can rename namespace and add as many.
s as you want. – Amenable