Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add an existing sub-folder (with/without child files/folders) to the solution?

The folder resides within my solution physical location but I can not find a command to add existing folder to the project from right-clicking. All I can see is "Add existing files". Trying to create the folder is denied since it already exists!

I tried to move the folder out of the solution folder on the hard disk, and add it again. Thing goes fine but it turns out to be awlful if the folder is a complex folder (with lots of files and folders inside). I gave up!

like image 794
Nam G VU Avatar asked Sep 16 '10 10:09

Nam G VU


People also ask

Does sharing a subfolder with someone also give them access to the parent folder?

Usually by default a folder is private; however, the sub folder will take on the same sharing characteristics as the parent folder. This is also true for any documents you put into the parent folder.


1 Answers

You need "Include in project":

  1. Click "Show all files", the small button at the head of your Solution Explorer, to show all files/folders of your solution. The ones not in your solution is in phantom/white color.
  2. Right click your "existing folder" and select "Include in project"
  3. Done

Hope that helps!

like image 96
Nam G VU Avatar answered Oct 21 '22 14:10

Nam G VU