Is there any way to add an existing folder with all its sub folders and contents to a solution in visual studio 2012? Some ways like zipping it or something like this...?
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.
Adding existing files You can add existing files to your project by right-clicking on the Project node and selecting Add > Add Files....
There's a button in Solution Explorer called Show All files
. Click on it and then select the folder you would like to include to the project:
Notice how the folders that are not part of the project are shown in white. You could pick the folder you want to include, right click on it and select Include In Project
in the context menu. This will recursively include all files to the project.
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