Share via


New File Dialog Box

Use this dialog box to create a new file. Files created using this dialog box are displayed in Solution Explorer under the Miscellaneous Files node.

Note   Files created using the New File dialog box will not be added to any open projects and will not be included in solution builds. For information about adding files to projects, see Adding New Project Items. To open this dialog box select New from the File menu and then choose File.

  • Categories
    Displays categories of files from which you can choose a file Template. Select a category and then select a file template from the list on the right.

    Note   If only one category exists, this dialog box contains only one frame, Templates (see below).

  • Templates
    After choosing a folder from Categories, select a file type from Templates. A brief description of the selected file template appears beneath Categories.

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

Displays items in Templates as large icons.

Displays items in Templates as small icons.

See Also

Miscellaneous Files | Managing Files in the Miscellaneous Files Folder | Open With Dialog Box | Files, User Interface Elements