One of the unpleasant features of Visual Studio is that, by default, it in the decision browser tree opens all the nodes for projects, inclusive. When there are several dozens of projects in the solution, and sometimes hundreds of projects, it is very inconvenient. The studio saves the state of the nodes in the .suo file, but after taking the new version of the solution with structural changes out of control, this file either flies or hangs the Studio, and it has to be deleted, and everything repeats again.

Maybe the Studio has any settings that allow you to set the state of the nodes in the solution browser by default?

Maybe there is any plugin that allows you to customize it?

Maybe someone here knows how to write such a plugin?

    2 answers 2

    For these purposes, I use Visual Studio Power Tools ( http://msdn.microsoft.com/ru-ru/vstudio/bb980963 ), which also has other useful things.

    • Can be more? Which toolkit to install, where to look for settings? - Modus
    • Install Power Tools from the link above. After that, a new point of the context menu will appear when you click on the solution. Read more about the features better read on MSDN - Ivan Kolodyazhny
    • hmm, there is also for 2010 Studio. We are still sitting at 2008 :( - Modus
    • VS2008 has a similar plugin archive.msdn.microsoft.com/PowerCommands - Ivan Kolodyazhny

    Best of all .suo, .ncb, .sdf, .user, ipch files created by the studio should be excluded from version control. These files are not intended to be saved to the repository, as some (.ncb, .sdf, .ipch) contain caches (which are large and binary, and there is no sense to load them, besides they may be machine-specific), and others (. suo, .user) contain information that only a local user needs. It is clear that this does not apply to files .sln, .vcproj, vcxproj, .filters, etc. - it is desirable to keep them :)

    The file extensions I wrote from several versions of the studio in one pile, it is not necessary that you have all these files.

    By the way, in 2010 studios (and maybe already in 2008, I don’t remember) local settings (for example, debug settings) were clearly transferred to a .user file so that it was clear that it should not be saved.

    • We do that. - Modus
    • Clear means I misunderstood. I thought the problem was that .suo was in your repository. Probably just the studio does not know how to handle the update of the project structure well. By the way, in 2010 I have never had such dependencies, so it is possible that Microsoft has fixed this. - quyse 4:34 pm