You can add existing files to a project in a number of ways.
Adding existing files to the active project
You can add one or more files to the active project quickly using the standard Open File dialog.
To add existing files to the active project do one of the following:
- From the Project menu, select Add Existing File...
—or—
- On the Project Explorer tool bar, click the Add Existing File button.
—or—
- Type Ctrl+D.
Using the Open File dialog, navigate to the directory containing the existing files, select the ones to add to the project, then click OK. The selected files are added to the folders whose filter matches the extension of the each of the files. If no filter matches a file’s extension, the file is placed underneath the project node.
Adding existing files to any project
To add existing files a project without making it active:
- In the Project Explorer, right click on the project to add a new file to.
- From the popup menu, select Add Existing File...
The procedure for adding existing files is the same as above.
Adding existing files to a specific folder
To add existing files directly to a folder bypassing the file filter do the following:
- In the Project Explorer, right click on the folder to add a new file to.
- From the popup menu, select Add Existing File...
The files are added to the folder without using any filter matching.