Visual Studio 2015 - missing content in solution explorer branches

Abitar picture Abitar · Sep 12, 2015 · Viewed 8.5k times · Source

Here my issue:

It seems the solution explorer is not displaying the content of the expanded solution tree. It only shows the the first level of the tree. If you click expand all or expand the branch out it's empty. Ok, I know they are part of the solution by be able to see them in the disk structure and they get compiled and can be checked by plugins like "codemaid". This occurs on new projects and old projects.

I tried all sorts of things with the different filters and all the settings I can find, but I would think if the filters where off and show all files on you see either things in the project. Oh and yea I selected both the solution and project branches.

I have ran the repair and did a install and reinstall of VS2015, and searched the web for months :) This really all started with me organizing my code into sub folders and not showing up in the explorer. So I been writing a lot of "flat" code where the classes are in the root of the project. Older version of VS are still working correctly (right now I have to reinstall because I removed them).

My current train of thought to resolve this is track down the tree object and make sure it's a up-to-date object.

VS visual bug screenshot

Answer

Peter picture Peter · Nov 19, 2015

The problem described in this link sound just like your (and currently my) problem:

https://community.flexerasoftware.com/showthread.php?219321-Visual-Studio-2015-Solution-Explorer-nodes-do-not-show-files-for-other-projects

So, it seems there is a bug in VS2015. InstallShield triggers it. Maybe other add-ons do also.

If I have an InstallShield project loaded in a 2015 solution, I only get one level of files, (i.e. the filters show nothing). If I unload the InstallShield project and refresh the Solution Explorer (e.g. toggle show all on a per project basis, or close and re-open the project) then all my files show up again!