user29964
user29964

Reputation: 15990

How to sort projects in visual studio 2008?

How can you sort your projects within a solution folder. I have a solution with 3 solution folders and in there I have several class libraries but they don't seem to be sorted by name but by creation.

Is there a way to sort them by name? (from within vs 2008, not by changing the sln manually)

Regards, M

Upvotes: 4

Views: 1304

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038770

Take a look at this post. Quote:

It is a known bug that Visual Studio does not sort projects alphabetically when the projects are located inside Solution Folders. Since I am working on pretty large solutions (more than 20 projects for 1 solution), and I like to order the projects via Solution Folders, this is a very irritating bug.

However, I accidently found the solution to this problem. Follow the steps below to sort your projects alphabetically inside Solution Folders.

Right-click on a project and select rename (or simple select a project, wait 1 second, and click it again or press F2). Don’t change the name, simply select another project.

Upvotes: 6

Related Questions