jim
jim

Reputation: 27386

Add Existing Files to Visual Studio 2008

Duplicate: How to "Add Existing Item" an entire directory structure in Visual Studio?

I am adding existing files to my web application. The directory structure is fairly complex. Is there a way to add this entire directory structure without manually adding each folder and file to the application?

Upvotes: 1

Views: 265

Answers (2)

adrianbanks
adrianbanks

Reputation: 82944

Select the project you want to add the directory and files to and click on the button at the top of the solution explorer called "Show All Files" (the second one from the left). This should show you all of the files on disk, whether or not they are included in your solution.

If you now find the directory you want to include, you can right-click on it and select "Include in Project". This will include the directory and everything inside of it.

Upvotes: 1

psychotik
psychotik

Reputation: 39009

When you select a file/folder, choose 'Add as link' instead of 'Add'

Upvotes: 0

Related Questions