With the release of the SPDisposeCheckTool(http://blogs.msdn.com/sharepoint/archive/2009/01/29/spdisposecheck-released.aspx) some developers of our team had the need to include this tool in postbuild events of each solution to warn and to deny build processes. Hope it helps.
Commercial Use
Modify
Distribute
Sub-License
Hold Liable
Distribute Original
Disclose Source
Include Copyright
State Changes
Include License
Include Notice
These details are provided for information only. No information here is legal advice and should not be used as such.