views:

1542

answers:

4

Is any way to tell the solution explorer of Visual Studio 2005 not to expand all projects on the first opening of the solutio after svn-checkout?

Edit: Thanks for pointing out the PowerCommands. As I am using Visual Studio 2005 with .Net 2.0 it does not work for me. Are there similar tools available for VS2005?

+1  A: 

Duplicate. Solution is to delete the .suo file.

Goran
The "duplicate" question has to do with open files in a solution that already has an SUO file.
Joseph Daigle
There seems to be a suo file in the svn or VS would not expand all projects...
Goran
VS 2005 by default expands all projects, if there isn't a sou file.
Joseph Daigle
Just tested in vs2005 and vs2008. If I delete the file the solution opens up with no projects open. Have you tested this?
Goran
+2  A: 

I found this annoying too, so my solution was to install PowerCommands for Visual Studio which is a nice add in, it has "Colapse Project" function which does exactly that. it also has a dozen of other cool features.

Highly recommended.

ljubomir
Seems like PowerCommands are only available for VisualStudio 2008.
lowglider
A: 

My default (without anyway of changing this as far as I know) VS will expand all the projects like that on first opening of a solution and creation of the solution user options file. as ljubomir mentioned, the best thing to do is create something to collapse all the projects.

Joseph Daigle
+1  A: 

Re: something like PowerPack: DPack has a solution collapse option too, and it works with 2005.

I configure it to collapse "Top Items Only" because "All Projects and Files" works too slowly and flickery for me.

Ishmaeel