Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Solution folder not shown in windows explorer

I opened a blank solution in Visual Studio (2010).

I added a folder in solution and within a Html file.

In Window Explorer, the file is added to the solution level and not within a folder.

Also, it did not created folder at all.

I tried to add the folder manually in Window Explorer and then re-add a file. It did not help still the file is not added to the folder, but at the Solution level.

How can I resolve this?

like image 500
Hodaya Shalom Avatar asked Jun 26 '13 08:06

Hodaya Shalom


People also ask

How do I enable Solution Explorer?

Open Solution Explorer If you don't see the Solution Explorer tool window, you can open it from the Visual Studio menu bar by using View > Solution Explorer, or by pressing Ctrl+Alt+L.

Why can't I see a folder in Windows Explorer?

In the File Explorer Options window, click on the "View" tab. Step 3. Check the option "Show hidden files, folders or drives". Also, uncheck "Hide protected operating system files" and "Hide extensions for known file types".

How do I open a folder in Solution Explorer?

In Visual Studio, click File > Open > Folder. Navigate to the folder, and click Select Folder. This opens the folder in Solution Explorer and displays its contents, files and any subfolders.


1 Answers

Solution folders in VS are only visible within VS and are not file system folders.

If you want a file system folder to be mirrored in VS then you will need to create the folder on the file system and then use the 'Add/Existing Item' option to add the folder.

You can then add a file to this folder and it will appear where you would expect it to.

like image 144
Steve Martin Avatar answered Oct 13 '22 16:10

Steve Martin