Change Project Namespace in Visual Studio

2019-01-17 02:03发布

How can I change the project namespace in Visual Studio?

The namespace is currently WindowsFormsApplication16, and I want the namespace to be MyName.

7条回答
够拽才男人
2楼-- · 2019-01-17 03:01

Just right click on the name you want to change (this could be namespace or whatever else) and select Refactor->Rename...

Enter new name, leave location as [Global Namespace], check preview if you want and you're done!

查看更多
登录 后发表回答