Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio: Add existing folder(s) to project

Is there a way to add existing Folders to a Visual Studio Project so that I do not have to do this file by file?

Edit

To make it clear: I want to add references not copies.

like image 227
HerpDerpington Avatar asked Nov 17 '13 16:11

HerpDerpington


People also ask

How do I add folders to Solution Explorer Visual Studio?

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.

How do I create a project from an existing source in Visual Studio?

Open your Visual Studio IDE. Navigate to the Visual Studio menu: File | New | Project From Existing Code... as shown in the below screenshot: This will open the Create New Project from Existing Code Files wizard dialog on the screen.


1 Answers

If the folder and its contents have already been created and it physically exists under the Project, you can click the Show All Files icon (at the top of the Solution Explorer windows) and then when the folder shows as a dotted icon, right-click it and choose Include In Project and the folder and all its contents are added.

like image 200
John J Smith Avatar answered Sep 28 '22 07:09

John J Smith