views:

32

answers:

3

Hi,

how change project namespace name?

Now is namespace WindowsFormsApplication16, i wont namespace MyName

Thanks

+1  A: 

Right click properties, Application tab, then see the assembly name and default namespace

Jason Jong
+2  A: 

You can change the default namespace:

-> Project -> Properties -> Default Namespace

Other than that,

Ctrl-H - Find: WindowsFormsApplication16 Replace: MyName

Kyle Rozendo
Instead of Find/Replace, you can also right click the namespace in code and Refactor->Rename.
Jimmy
A: 

Assuming this is for a C# project and assuming that you want to change the default namespace, you need to go to Project Properties, Application tab, and specify "Default Namespace".

Default namespace is the namespace that Visual studio sets when you create a new class. Next time you do Right Click > Add > Class it would use the namespace you specified in the above step.

Igor Zevaka