Use this dialog box to add an item to the currently selected project. When you select an item from the Categories list, the appropriate files and references are added to your project.
Items are displayed in the Categories list based on the selected project type and the targeted version of the .NET Framework. If development policies defined in an application template apply to your project, the policies might simplify the choices displayed in the dialog box or affect the properties of some items and their values.
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. This Help page was written with the General Development settings in mind. To view or change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.
To access this dialog box, click Add New Item on the Project menu.
Lists the project item hierarchy.
If only one category exists, this dialog box contains only one frame, Templates.
Displays item templates for the related project item types. When you select a template or a category, a brief description of that item appears underneath the Categories frame.
Only templates that apply to the version of the .NET Framework targeted by the project type are displayed.
Displays large icons for items in the Templates pane.
Displays small icons for items in the Templates pane.
Enter the name of the file that you want to create.
Use this button to add the item to the currently selected project.
If your anti-virus software displays a message that offers to block script that the project template or wizard runs, choose not to block. If the script is blocked, Visual Studio may shut down. To prevent this condition, you can clear the anti-virus software setting for blocking script. However, if you change this setting, all script blocking is disabled.