Using multiple folders per project in Visual Studio 2008
I would like to know how to have multiple folders per project in Visual Studio. Of course namespaces and DLLs have to be the same when the solution is built with or without using multiple folders.
I tend to be forgetful at things especially this开发者_开发问答 one and forgot to bookmark the link. As far as I know it is an answer in SO. I looked at the question Visual Studio Hidden Features, but I can't find it. The SO answer link or the direct link to the site outside SO, is very much accepted and appreciated.
You can add a new folder by right-clicking in Solution Explorer and using the Add, New Folder menu command.
It is a common practice for folder names correspond to namespaces. For example, if you create a folder named WebPages
, use a namespace Webpages
block in the source files that you put in that folder.
精彩评论