New Project

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 clicking New on the File menu. This dialog box contains selection buttons in the upper-right corner for displaying the templates with large or small icons.

Note

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

Options

  • Templates
    In the Templates box, select a template. A brief description of the selected project template appears beneath the Templates box.
  • Name
    Enter the name of the script 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, SQL Server Management Studio creates source and other supporting files and adds them to the new project folder.

    Note

    For some project types, the Name text box 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 (:)
    • Quotation mark (")
    • Less than (<)
    • Greater than (>)
    • Question mark (?)
    • Forward slash (/)
    • Leading or trailing spaces (' ')
    • Names reserved for Microsoft Windows or MS-DOS, such as ("nul", "aux", "con", "com1", "lpt1", and so on)
  • Location
    Enter the location where you want to create your project, or choose one from the list.
  • Browse
    Displays the Project Location dialog box, allowing you to navigate to a new directory in which to save the project.
  • Solution
    Select Create new Solution to create a solution in Solution Explorer. Select Add to Solution to add the new project to the solution currently open in Solution Explorer.
  • Create directory for Solution
    Select to enable the (Solution) Name text box. This option creates a new directory of the name you choose for your project and solution.
  • 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 both the Create New Solution in the Solution and the Create directory for Solution check boxes. Some project templates do not support this option, such as Web applications.

  • Add to Source Control
    When this check box is selected, your source control application opens when you click OK. Complete any information required by your source control application to continue. You must have a source control client application installed to use this option.

See Also

Other Resources

Introduction to Solutions, Projects, and Items
Adding Solutions and Projects to Source Control

Help and Information

Getting SQL Server 2005 Assistance