Do you use Solution Folders to Neatly Structure your Solution?
  v5.0 Posted at 7/01/2014 1:18 PM by Ben Cull
​All the DLL references and files needed to create a setup.exe should be included in your solution. However, just including them as solution items is not enough, they will look very disordered (especially when you have a lot of solution items). And from the screenshot below, you might be wondering what the _Instructions.docx is used for...
SSW - Rules .NET Projects - Bad Solution.png
Bad example - An unstructured solution folder

An ideal way is to create "sub-solution folders" for the solution items, the common ones are "References" and "Setup". This will make your solution items look neat and in order. Look at the screenshot below, now it makes sense, we know that the _Instructions.docx contains the instructions of what to do when creating a setup.exe.

SSW - Rules .NET Projects - Good Solution.png
Good example - A well structured solution folder has 2 folders - "References" and "Setup"
We have a program called SSW Code Auditor to check for this rule.

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address: