Adding Files

See Also

Once you have created a Web project, you can add any type of file to the project.

To insert a file into a project

  1. In the Project Explorer, select the project or subfolder where you want to insert the file.

  2. From the Project menu, choose Add Item.

    The Add File dialog box appears.

  3. In the New tab, choose a file type in the right pane and provide a name in the Name box. For more information, see Creating Pages.

    –or–

    In the Existing tab, browse to the file or files to be inserted. Be sure to select the appropriate file type in the Files of Type box.

  4. Click Open to add the file to the Web project.

Note   You can also add files or folders to a project by dragging them from Windows® Explorer onto a folder in the Project Explorer.