Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Solution Folders in VS2008 are Not Alphabetized

I moved a bunch of projects to Solution Folders to chop up our list of projects into manageable folders, now each of the folders projects are not in alphabetical order. This only occurs on machines other than my own. Any ideas how to alleviate this?

like image 856
Adam Driscoll Avatar asked Dec 10 '22 22:12

Adam Driscoll


2 Answers

I actually did hand edit the solution file and it didn't work (yea it was like 175 projects!) haha. But if you load the solution and then right-click and rename any file, without actually renaming of course, and then click off the solution will magically alphabetize.

like image 179
Adam Driscoll Avatar answered Dec 15 '22 00:12

Adam Driscoll


See the following bug information on MS Connect: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=312252&wa=wsignin1.0

To summarize: " The order they show up in solution explorer is the order in which they were written to the solution file. However, if the folder is collapsed on startup it will be sorted when you expand it. "

Therefore, the fast solution would be to hand edit the solution file and put the projects in the order you wish.

like image 29
NotMe Avatar answered Dec 15 '22 02:12

NotMe