Greg
Greg

Reputation: 34798

in VS2010 how do I add a whole directory of existing items

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?

Upvotes: 12

Views: 4261

Answers (1)

Roman
Roman

Reputation: 20246

Assuming the files are already in the proper project's directory

  1. Select the project in solution explorer
  2. Click "Show All Files" icon at the top of solution explorer
  3. Right click on the folder you want to be part of the solution
  4. Select the "Include in project" option
  5. ??
  6. 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.

Upvotes: 26

Related Questions