Export (0) Print
Expand All

New Project Dialog Box

Use this dialog box to create a new project in either the current solution or a new solution. To access this dialog box, choose New on the File menu and then choose Project.

NoteNote

For general background on solutions and projects, see Introduction to Solutions, Projects, and Items and Solutions as Containers.

NoteNote

The options available in dialog boxes, and the names and locations of menu commands you see, might differ from what is described in Help, depending on your active settings or edition. To view or change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

Project Types

Displays the categories of projects available.

Templates

Displays project templates for creating 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.

NoteNote

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.

In addition to using the templates that were installed when you installed Visual Studio, you can create your own templates (for more information, see Creating Project and Item Templates) or create a project from a downloaded template (for more information, see How to: Use a Starter Kit to Create a New Project).

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

TopicLocation
How to: Create Logical Datacenter Diagrams (Team Edition for Architects)Visual Studio Enterprise - Logical Datacenter Designer
Blank Solution TemplateVisual Studio - Developing Solutions and Projects
Default Project Templates in Visual StudioVisual Studio - Developing Solutions and Projects
New Web Site Dialog BoxVisual Web Developer
Smart Device DevelopmentSmart Device Projects
Visual C++ ProjectsVisual C++ Development Environment Reference
How to: Create Application DiagramsVisual Studio Enterprise - Application Designer
Extensibility ProjectsVisual Studio Automation - Core Extensibility
Setup and Deployment ProjectsDeployment in Visual Studio
Office Project TemplatesVisual Studio Tools for Office Reference
Setup and Deployment ProjectsDeployment in Visual Studio
Smart Device Development
Extensibility Projects
Visual C++ Projects
How to: Create Application Diagrams
How to: Create Logical Datacenter Diagrams
Blank Solution Template
Default Project Templates in Visual Studio
Office Project TemplatesVisual Studio Tools for Office Reference
New Web Site Dialog Box
How to: Create a WPF UserControl Library Project
Working with Controls in the WPF Designer
How to: Create a New WPF Browser Application Project
Creating WPF Applications
Setup and Deployment ProjectsASP.NET Extensions for e-dv_deploy_msi
Smart Device DevelopmentVisual Studio
Extensibility ProjectsVisual Studio Automation - Core Extensibility
Visual C++ Project TypesVisual C++ Development Environment Reference
Blank Solution TemplateVisual Studio - Developing Solutions and Projects
Default Project Templates in Visual StudioVisual Studio - Developing Solutions and Projects
How to: Create a New WPF Browser Application ProjectWPF Designer
How to: Create a WPF UserControl Library ProjectWPF Designer
Working with Controls in the WPF DesignerWPF Designer
New Web Site Dialog BoxVisual Web Developer
How to: Create a New WPF Browser Application Project
New Web Site Dialog Box
How to: Create a WPF UserControl Library Project
Working with Controls in the WPF Designer
Extensibility Projects
Visual C++ Project Types
Default Project Templates in Visual Studio
Extensibility Projects
Visual C++ Project Types
Creating Projects from Templates
New Web Site Dialog Box

Large Icons
LargeButtonsButton screenshot

Displays items in Templates as large icons.

Small Icons
LittleButtonsButton screenshot

Displays items in Templates as small icons.

Name

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 box. For some projects, Visual Studio creates source and other supporting files and adds them to the new project folder.

NoteNote

For some project types, the Name box is unavailable because specifying the location sets the name. For example, Web applications and XML 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)

Location

Enter the location where you want to create your project, choose an existing location from the list, or navigate to a location using Browse. By default, new projects are created in the Visual Studio projects location specified in the General, Projects and Solutions, Options Dialog Box.

NoteNote

This option is not available when you are creating a temporary project.

Browse

Displays the Project Location dialog box, which allows you to navigate to a new directory to save the project in.

NoteNote

This option is not available when you are creating a temporary project.

Solution Name

Enter the name of the new solution in which you want your project to be created. By default, this is the same name as entered in the Name box for the project.

NoteNote

To access this option, you must select the Create directory for Solution check box first. Some project templates do not support this option, such as Web applications. This option is not available when you are creating a temporary project.

Solution

Note   This option is available only when you have a solution open in the IDE and you are not working with stand-alone projects.

Create new Solution

Select to first close the open solution and then create a new solution and new project.

Add to existing Solution

Select to add the new project to the open solution.

Name

Enter the name of the new solution in which you want your project to be created. By default, this is the same name as entered in the Name box for the project.

NoteNote

This option is available only when you have a solution open in the IDE and you are not working with stand-alone projects. To access this option, you must select the Create directory for Solution check box first and then select Create new Solution. Some project templates do not support this option, such as Web applications. This option is not available when you are creating a temporary project.

Create directory for Solution

Select to enable the Solution Name text box or the Name text box for solutions. Creates a new directory of the name you choose for your project and solution.

NoteNote

This option is not available when you are creating a temporary project.

Add to Source Control

Select to add the new project to source control. For more information about the integrated source control services within the development environment, see Source Control for Visual Studio.

NoteNote

This option is not available when you are creating a temporary project.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft