Visual Studio 2019 does not show all files in a folder

Aminnia, Ben 6 Reputation points
2022-08-11T19:29:52.603+00:00

After a recent upgrade of Visual Studio 2019, why is Solution Explorer no longer showing all files in a folder?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
0 comments No comments
{count} vote

7 answers

Sort by: Newest
  1. Davin Menhinick 0 Reputation points
    2023-07-18T09:03:59.2833333+00:00
    1. Create a new folder with a temp name.
    2. Use add to add the files from the broken folder.
    3. Once you have done that delete the broken folder with the original name.
    4. Rename the new temp folder to the original name.
    0 comments No comments

  2. Ben Aminnia 21 Reputation points
    2022-12-01T16:21:07.843+00:00

    No, the problem is not fixed on my computer. A temporary solution has been to right click on the folder with missing files then go to Add - Existing Item... However, when I close and reopen Visual Studio, added items disappear again.


  3. Aminnia, Ben 6 Reputation points
    2022-08-11T23:40:51.203+00:00

    This is ASP.NET website
    Yes, In Solution Explorer I see the root Solution node and then a project node.
    I the root solution node, I now see [Show All Files] and it has been checked
    If I Right click the project node and use 'Open Folder in File Explorer', it shows all source files in that folder.


  4. Aminnia, Ben 6 Reputation points
    2022-08-11T22:19:21.163+00:00

    I do not see the small icon for show all files.
    Also, the folder which does not show all files is cut off alphabetically. It only shows file names beginning with A through C

    0 comments No comments

  5. MR BILL 256 Reputation points
    2022-08-11T21:51:22.657+00:00

    Have you checked the small icons up top on the right hand side of VS? One of them is show all files. You might need to click it to see all your files.

    1 person found this answer helpful.
    0 comments No comments