Organizing with Solution Folders

This post was originally published here.

I don’t know how long it’s been around, but I found a nice organization feature for VS Solutions, Solution Folders.  Solution Folders are logical (not physical) folders that you can use to organize projects and solution items.  You can nest folders as deep as you like also, just right-click the solution in the Solution Explorer and click “Add->New Solution Folder”.

It’s easy to get carried away, but I like to organize my projects by app, when I have over 10 or so projects in my solution.  Typically, it will look like this:

  • Common Projects
    • Tests
  • Windows App
    • Tests
  • Web App
    • Tests
  • Build

Here’s an example with NBehave:

This solution was small enough that it really didn’t need it, but with a solution with several dozen projects and many applications, solution folders can prevent quite a few headaches.

About Jimmy Bogard

I'm a technical architect with Headspring in Austin, TX. I focus on DDD, distributed systems, and any other acronym-centric design/architecture/methodology. I created AutoMapper and am a co-author of the ASP.NET MVC in Action books.
This entry was posted in Misc, Tools. Bookmark the permalink. Follow any comments here with the RSS feed for this post.