Reputation: 4906
To create a new class in Visual Studio, I hit Ctrl+Shift+A, then select "Class". The class creation dialog does not give me any option to put the file anywhere. Visual Studio creates the file in the solution root dir.
So now my solution root dir has 20+ files and a mix of .cs, .sln, .csproj etc files.
I want to be able to view my project in a tree structure, where I organize the class files into a folder hierarchy. How can I do this in Visual Studio?
Upvotes: 0
Views: 346
Reputation: 10570
You can create new folders in your solution tree (in mouse right-click menu) and place your new files there (you probably can even drag files from another location). 20+ files is not much of course :)
Upvotes: 1