visual-studioprojectprojects-and-solutionsprojects

Change order of files in solution explorer


In Visual Studio, how do you change the order of your source files?

By default, it seems that they go in alphabetical order but I want to put them in a more logical order.


Solution

  • You can't change the order that the Solution Explorer displays your files. If you need a more logical grouping, consider using folders and namespaces.