New Project Dialog Box

Document Sample
New Project Dialog Box Powered By Docstoc
					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.


Note

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


Note

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.


       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.



       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.
Topic                                        Location

How to: Create Logical Datacenter Diagrams   Visual Studio Enterprise - Logical
(Team Edition for Architects)                Datacenter Designer

Blank Solution Template                      Visual Studio - Developing Solutions
                                             and Projects

Default Project Templates in Visual Studio   Visual Studio - Developing Solutions
                                             and Projects

New Web Site Dialog Box                      Visual Web Developer

Smart Device Development                     Smart Device Projects

Visual C++ Projects                          Visual C++ Development
                                             Environment Reference

How to: Create Application Diagrams          Visual Studio Enterprise - Application
                                             Designer

Extensibility Projects                       Visual Studio Automation - Core
                                             Extensibility

Setup and Deployment Projects                Deployment in Visual Studio

Office Project Templates                     Visual Studio Tools for Office
                                             Reference

Setup and Deployment Projects                Deployment in Visual Studio

Smart Device Development                     Smart Device Projects

Extensibility Projects                       Visual Studio Automation - Core
                                             Extensibility

Visual C++ Projects                          Visual C++ Development
                                             Environment Reference

How to: Create Application Diagrams          Visual Studio Enterprise - Application
                                             Designer

How to: Create Logical Datacenter Diagrams   Visual Studio Enterprise - Logical
                                             Datacenter Designer
Topic                                          Location

Blank Solution Template                        Visual Studio - Developing Solutions
                                               and Projects

Default Project Templates in Visual Studio     Visual Studio - Developing Solutions
                                               and Projects

Office Project Templates                       Visual Studio Tools for Office
                                               Reference

New Web Site Dialog Box                        Visual Web Developer

How to: Create a WPF UserControl Library       WPF Designer
Project

Working with Controls in the WPF Designer      WPF Designer

How to: Create a New WPF Browser Application   WPF Designer
Project

Creating WPF Applications                      Building C# Programs

Setup and Deployment Projects                  ASP.NET Extensions for e-
                                               dv_deploy_msi

Smart Device Development                       dv_vstoc

Extensibility Projects                         Visual Studio Automation - Core
                                               Extensibility

Visual C++ Projects                            Visual C++ Development
                                               Environment Reference

Blank Solution Template                        Visual Studio - Developing Solutions
                                               and Projects

Default Project Templates in Visual Studio     Visual Studio - Developing Solutions
                                               and Projects

How to: Create a New WPF Browser Application   WPF Designer
Project
Large Icons



       Displays items in Templates as large icons.

Small Icons



       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.


       Note

       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.
       Note

       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.


       Note

       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.


       Note

       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.


       Note

       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.


        Note

        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.


        Note

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


See Also
Tasks

How to: Create Directories for Solutions
How to: Create Multi-Project Solutions

Concepts

Temporary Projects
Stand-Alone Projects

Other Resources

Managing Solutions, Projects, and Files
Projects, User Interface Elements

				
DOCUMENT INFO