I use Microsoft Visual Studio 2012. I first opened my ASP.NET project, then I created some folder as Pages, Views, Sources. But the second I open the project, Visual Studio doesn't show those folders. I cannot view them. If I make a new folder with the same name above, the IDE renders a message that the folder already exists.
Can you help me! Thank you very much!
On the Visual Studio menu bar, choose File > Open > Folder, and then browse to the code location. On the context (right-click) menu of a folder containing code, choose the Open in Visual Studio command. Choose the Open Folder link on the start window.
If you create a directory or add a file into a directory through Windows Explorer, it will notshow up in Visual Studio. You must either create the file or folder inside Visual Studio or use the Add...dialog for the project to add existing files.
If you create a directory or add a file into a directory through Windows Explorer, it will notshow up in Visual Studio. You must either create the file or folder inside Visual Studio or use the Add...dialog for the project to add existing files. Share Follow answered Oct 28 '13 at 15:48
Creating folders on the disk does not necessarily mean that they will show up inside a project in Visual Studio, because projects maintain their own folder list. If you want your folders to show up inside a project, you need to create the folders from within Visual Studio (right-click the project and select Add > New Folder).
Select The Project Name in Solution Explorer and click Show All Files. Then select the Newly added Folder or Files (Which are in dotted structure) and Right Click -> select Include In Project. Then it will added the newly created file into your local structure(Which are shown in normal structure).
The Visual Studio project does not parallel you filesystem. If you create a directory or add a file into a directory through Windows Explorer, it will not show up in Visual Studio. You must either create the file or folder inside Visual Studio or use the Add...
dialog for the project to add existing files.
The simplest solution for me was to recopy the files/directories from the project folder and repaste them on the Visual Studio Solution Explorer panel.
That's it!
Visual Studio will automatically sync file explorer with the Visual Studio file system.
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