Visual Studio and .NET Framework Home
Project order in Solution Folder not alphabetical
11/5/2008 11:27:21 PM
User(s) can reproduce this bug
I'm resubmitting the closed bug (312252) because it is still reproducible in VS2008, and a bit annoying.
[I suspect that in the "GlobalSection(NestedProjects) = preSolution" section of the .sln file, the projects are included in the order they were added to the folder, and not in alphabetical order. VS does the sort if and when some 'ordering' event occurs (i.e., renaming a project, moving a project, or (strangely) if you collapse the Solution Folder before closing VS, when you open it again afterwards, they are sorted (closing and opening the folder with VS open doesn't work).]
Visual Studio 2008 SP1
Windows XP Professional
Operating System Language
Steps to Reproduce
1. Create a new project Windows Class Library in C# (AProject) with solution MySolution
2. Add another project of the same type (ZProject)
3. Create a Solution folder (MyFolder)
4. Drag and drop the ZProject to MyFolder, then AProject
5. Save and close the solution
I will attach a zip with this solution.
If you open the solution again, you will see that ZProject comes before AProject.
I would expect to see AProject before ZProject.
TAP Code (if applicable)
You can indicate your satisfaction with how Microsoft handled this issue by completing this quick
3 question survey
to post a comment.
Please enter a comment.
on 2/23/2009 at 10:45 PM
I just got 4 simultaneous updates that (I think) went like this:
Field Status changed from [Closed] to [Active] to [Resolved] to [Closed]
Field Resolution changed from [Not Set] to [Fixed] to [Won't Fix]
Can someone please explain what that means?
on 11/7/2008 at 1:28 AM
Thanks for your feedback. We are escalating this bug to the product unit who works on that specific feature area. The team will review this issue and make a decision on whether they will fix it or not for the next release.
Visual Studio Product Team
to post a workaround.
Please enter a workaround.
on 5/16/2009 at 11:26 PM
This can be resolved by clicking on a project within the solution folder, pressing F2 (to rename the project), and then click on another project within the solution folder to abort the rename attempt. This will cause the projects within the solution folder to reorganize alphabetically.
© 2014 Microsoft