I have a form that is currently in the wrong namespace:
MyForm.cs: namespace DirtyHowdoyoudo { public MyForm() { ... MyForm.Designer.cs: namespace DirtyHowdoyoudo { partial class MainForm {
The form must be in the Bajingo namespace. What is the correct way to change the namespace of a form?
Note. Editing MyForm.cs to use the new namespace:
MyForm.cs: namespace Bajingo { public MyForm() { ...
makes the designer break down. I can edit the MyForm.Designer.cs code MyForm.Designer.cs manually:
MyForm.Designer.cs: namespace Bajingo { partial class MainForm {
But I am told by Visual Studio ( and SO users who suggest "use refactoring" ) so as not to manually edit the constructor file.
Mandatory filler material:
I checked the properties window for the form, and there is no Namespace property:

I tried just renaming it, and let Visual Studio refactoring hit:

Except that Visual Studio wants to rename the namespace everywhere, in everything. I just want this form.
source share