views:

19

answers:

1

I have a web application project made in Visual Studio 2008.

Well, I added a jquery folder and added it to source control and other such things. I forgot to add it to the visual studio project though. How do I add the existing folder now? I've tried just creating a new folder and naming it jquery but it gave me a cryptic error "the directory is already on the disk ... if you want to see this directory then check the Show All Files option in the project file" Yet I looked and saw no such option.

Is the only way around this to rename jquery to jquery2 and then create a new folder via visual studio named jquery and copy all my files into it?

+1  A: 

With your project open in Visual Studio, click on your project. Then go to the "Project" menu and select "Show All Files". You should now see any directories or file that are in the directory of the project but not included in the project..

heavyd
see a screenshot: http://img716.imageshack.us/img716/4104/folders.png I see no such option
Earlz
Solution Explorer window, second from the left
Oleg Kalenbet
Ok that works fine but I'll still get warnings about files not existing because they are not included in the project. How do I actually add it to the project?
Earlz
Right click on the files that are not part of the project and select "Include in Project"
heavyd