Click here to Skip to main content
15,891,689 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have just started using Visual Studio 2017. I have added a number of items to a solutions folder. These are in a confusing order. Does anyone know how to change the order of items in here? Simple alphabetical would do.

Some of the items I have are:

\SolutionItems
>>\ConfigFiles
>>>>Dev.config
>>>>Live.config
>>Doxygen.doxycfg
>>RunDoxygen.bat
>>BuildExtras.txt

(NOTE: I have used '>' to indicate folder indentation because I can't get the question editor indent option to work.)

What I have tried:

I have tried right-clicking the folder in Solutions Explorer and selecting Properties. This gives an option to sort either alphabetically or by category, but clicking these seems to have no effect on the order of the items.
Posted
Updated 22-Jan-18 5:15am
v2
Comments
[no name] 22-Jan-18 9:28am    
Visual Studio does not sort projects/folders alphabetically by a developer when the projects/folders are located inside Solution Folders.It sorts automatically.
Richard MacCutchan 22-Jan-18 10:48am    
Yes it does.
Richard MacCutchan 22-Jan-18 10:49am    
It would help if you showed us exactly what items you are talking about. Remember, we cannot see your screen.

Most items in the Solution Explorer are sorted alphabetically. There are no options to change that behavior.
 
Share this answer
 
Closing and re-opening the solution seems to have sorted it out. It now puts folders first and then lists files, all sorted alphabetically, which as was pointed out in one reply is the normal behaviour.

Thank you for the replies.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900