Project Order in Visual Studio Solution

Kent Boogaart picture Kent Boogaart · Feb 11, 2010 · Viewed 28.7k times · Source

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?

Answer

Sam picture Sam · Apr 18, 2012

Unfortunately VS2010 forces projects to be alphabetically sorted.

Perhaps renaming the projects by adding a numerical prefix (01, 02, 03, etc) to achieve the desired order is the only workaround, although not ideal either.