Change order of files in solution explorer

2019-01-27 15:38发布

问题:

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.

回答1:

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.