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?
Assuming the files are already in the proper project's directory
- Select the project in solution explorer
- Click "Show All Files" icon at the top of solution explorer
- Right click on the folder you want to be part of the solution
- Select the "Include in project" option
- ??
- Profit!!!
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.
精彩评论