This documentation is archived and is not being maintained.

New Project Dialog Box

Use this dialog box to create a new project in either the current solution or a new solution. You can access this dialog box by choosing New from the File menu.

Note   For general background on solutions and projects, see Introduction to Solutions, Projects, and Items and Solutions as Containers.
Project Types
Displays the categories of projects available.
Project Templates
In the right pane, select a Template. A brief description of the selected project template appears beneath Project Types. A project template creates the initial files, references, code framework, property settings, and tasks appropriate for the selected project. When you select a template or a project type, a brief description of that item appears beneath the Project Types frame. The following topics provide more comprehensive descriptions of the available project templates.
Note   If your anti-virus software displays an alert offering to block script that the project template or wizard is running, choose not to block script. If you choose to block script, Visual Studio shuts down. You can prevent this alert from showing when script is run by clearing the anti-virus software's setting for blocking script, however, changing this setting disables all script blocking, not just for Visual Studio.

For project specific documentation, select one of the following links.

Large Icons

Displays items in Templates as large icons.

Small Icons

Displays items in Templates as small icons.

Enter the name of the project you want to create. A folder with the same name as the project is also created in the location displayed in the Location field. For some projects, Visual Studio creates source and other supporting files and adds them to the new project folder.
Note   For some project types, the Name textbox is unavailable because specifying the location sets the name. For example, Web applications and Web services are located on a Web server and derive their name from the virtual directory specified on that server.

Names cannot contain the following characters:

  • Pound (#)
  • Percent (%)
  • Ampersand (&)
  • Asterisk (*)
  • Vertical bar (|)
  • Backslash (\)
  • Colon (:)
  • Double quotation mark (")
  • Less than (<)
  • Greater than (>)
  • Question mark (?)
  • Forward slash (/)
  • Leading or trailing spaces (' ')
  • Names reserved for Windows or DOS such as ("nul", "aux", "con", "com1", "lpt1", and so on)
Enter the location where you want to create your project or choose one from the list. By default, new projects are created in the location set in the Projects and Solutions, Environment, Options Dialog Box.
Displays the Project Location dialog box, which allows you to navigate to a new directory to save the project in.
New Solution Name
Enter the name of the new solution in which you want your project to be created. By default, this field uses the same name as entered in the Name field.
Note   To access this option, you must select the Create directory for Solution checkbox first. Some project templates do not support this option, such as web applications.
Create directory for Solution
Select to enable the New Solution Name text box. Creates a new directory of the name you choose for your project and solution.
Click to display the New Solution Name and Create directory for Solution options.
Click to hide the New Solution Name and Create directory for Solution options.
Add to Solution
Select to add the new project to the open solution.
Note   This option is available only when you have a solution open in the IDE.
Close Solution
Select to first close the open solution and then create a new solution and new project.
Note   This option is available only when you have a solution open in the IDE.

See Also

Creating Directories for Solutions | Creating Multi-Project Solutions | Managing Solutions, Projects, and Files | Projects, User Interface Elements