Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't see the folders I created in my project

I have been working on a project in C# in Microsoft Visual Studio 2012. Since I have a lot of C# files I decided to put them in a few folders based on their type. For example an interfaces folder and an enumerations folder.

Now when I open my project I can't see any of my folders and all of my C# files are not in folders. I can't open the files because it says that the directory has changed or has been deleted. I am adding a photo so you will be able to see what happened to me.

Error message box

like image 603
user1919052 Avatar asked May 13 '13 19:05

user1919052


People also ask

How do I show all folders in Visual Studio?

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.

How do I open a project folder?

Click File > Open. Click Computer, and then on the right, choose a recent folder or click Browse. Click the project you want, and then click Open.

Why can't I see missing folders in word?

If the folders that are "missing" are visible but not checked then check them to make them available via File Explorer. Word is locating the online version of the files, but they are not synced locally. Jun 24 2020 06:45 PM

Why can't I find a folder in Outlook 2010?

If your not able to find the folder & showing "Unavailable" (even after advanced search,left pane of outlook.com),chances are the folders might be deleted already on your account. What we can do,create a new folder for the back up>transfer all the files>delete the existing rule & create a new one, applying the new folder created.

How to find files disappeared in folder?

How to Find Files Disappeared in Folder 1 Show Hidden Files#N#Sometimes, you think you have lost these files permanently, but in fact, they are just hidden. To... 2 Step 2 Go to the View tab, then select Show hidden files, folder, or drives-OFF. After the adjustment, please Apply all... More ...

How do I open a project with nothing to see?

If you instead see "Nothing to see", do the following: In Project Structure -> Modules, press the + button, press enter (since, for some weird reason, it won't let me click on "New Module") In the window that pops up, click on the "..."


1 Answers

You should've created the folders and moved the files inside the VS Solution explorer, then everything is tracked automatically.

The easiest way to fix this is to enable "Show all files" at the top of the solution explorer, refresh the view to make sure you can see everything

Then right-click the slightly grayed out folders and choose "Include in project"

Once that's done, delete the "Broken" old files.

like image 167
Basic Avatar answered Oct 20 '22 00:10

Basic