Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting a default namespace for new projects in Visual Studio?

What template or setting can I modify to set up a default namespace for new projects? I want all the namespaces to begin with the company name and I don't want to have to change it each time I create a new project.

like image 655
John S Avatar asked Mar 24 '23 19:03

John S


1 Answers

You need to go to the project properties to set the default namespace. This is normally on the Application tab, under... Default Namespace.

Now, if you want every new project to have this namespace - create a company project template where you have set it. Project templates are not difficult to create - see this howto on MSDN.

like image 97
Oded Avatar answered Apr 06 '23 11:04

Oded