C# – How to set up your .NET development tree?


How do you set up your .NET development tree? I use a structure like this:

--config (where I put the configuration files)
--doc    (where I put all the document concerning the project: e-mails, documentation)
--tools  (all the tools I use: Nunit, Moq)
--lib    (all the libraries used by the solution: ninject or autofac)
---app   (sourcefiles)
---test  (unittests)

The sign "-" marks directories.

I think it's very important to have a good structure on this stuff. You should be able to get the source code from the source control system and then build the solution without opening Visual Studio or installing any third party libraries.

Any thoughts on this?

Best Solution

We use a very similar layout as covered in JP Boodhoo's blog post titled Directory Structure For Projects.