In VS2010 how do I add a whole directory of existing items?
When I right click on project and Add ExistingItem I seem to be able to load only one file at a time?
Right click the project or contained folder and choose Add | Existing Item... . Use Show All Files . Click on files or folders you would like to add to the project and choose Include In Project . Drag and drop files and folders from Windows Explorer.
To create a folder within the solution, right-click the solution name in the Solution Explorer pane and choose "Add", then "New Solution Folder" from the context-sensitive menu. To create a subfolder, start by right-clicking an existing solution folder and then choose the same menu options.
Assuming the files are already in the proper project's directory
Just kidding about 5 and 6, but that's probably the easiest way if the files are in the right directory structure, otherwise Andy's solution is probably easiest.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With