You can add existing files to a project in a number of ways.
To add existing files to the active project:
- Choose Project > Add Existing File or press Ctrl+P, A.
Using the Open File dialog, navigate to the directory containing
the files and select the ones you wish to add to the project.
The selected files are added to the folders whose filter matches the extension
of each of the files. If no filter matches a file's extension, the file
is placed underneath the project node.
To add existing files to a specific project:
- In the Project Explorer, right-click the project to which you wish to
add a new file.
- Choose Add Existing File.
To add existing files to a specific folder:
- In the Project Explorer, right-click the folder to which you wish to
add a new file.
- Choose Add Existing File.
The files are added to the specified folder without using filter matching.
To create a dynamic folder:
- In the Project Explore, right click on the project to which you wish to
add a new folder.
- Choose New Folder....
- Using the New Folder dialog name the folder and then show the dynamic folder options.
- Specify the required Source Folder and the Filter Specification.
The files that match the filter specification in the source folder will appear in the newly created
folder.