It seems the solution explorer collapses every time I rebuild a VisualGDB CMake project. Sometimes the the tree is collapsed on a configure as well. This is not critical but it sure is a pain to expand the tree back to subfolders every time.
This would happen if VisualGDB could not display the normal project structure queried from CMake (normally it is cached and should not be lost).
Would it be possible for you to create a quick video of this? If we could see the exact timing of the problem and the exact icons shown in Solution Explorer, we should be able to tell what is going on.
Thanks for the video. It looks like when CMake updates the target list, the targets are reported in a different order (FaceServiceTest.exe gets in front of libFaceService.a) and hence the ‘expanded’ flag isn’t preserved properly. As a workaround, please set the “Sort targets by name” option via VS Project Properties (not VisualGDB Project Properties) -> Project Items->Sorting/Grouping.