views:

547

answers:

1

In Visual Studio 2008, what determines the order in which projects appear within a solution folder? It's not alphabetical order, nor is it build order.

I cannot find any way of altering the order in which projects are being listed. I've tried removing my .suo file, as well as moving things about in the .sln file. Neither had any effect.

How can I change the order in which my projects are being displayed?

+3  A: 

There is a feedback Request already placed in Connect.Microsoft.com. so, you will have to wait for the permanent solution.

http://connect.microsoft.com/VisualStudio/feedback/details/468874/solution-explorer-project-sort-order

Temporary workarounds are available.. but, not good enough i feel.. one of them is,

Press F2 to rename a project, then press enter without changing the name. This temporarily sorts the projects within that folder.

(As per http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/79d46a69-386e-4ad8-b9cb-b00d4252495b/?prof=required )

Or use http://solutionsorter.codeplex.com/ to alter SLN for permanent fix if your solution folders are not nested (it ate my solution)

But, this will not work if you close and open the solution..

If you use Resharper, you can press the short cut CTRL + N to find out files in solution and CTRL + F12 to find out methods in the file.

Jeeva S
AFAIK it's fixed in VS2010, I expect that there won't be a permanent solution for VS2008.
Benjol