I once remember seeing an addon or something for VS2008. It was provided by Microsoft and was part of best practices. Basically each time the project builds it checks your code to make sure all properties have comments, etc.
Please could someone help me remember what it was called?
1.1 solution on a dedicated machine - how best to move it?
ASP.Net Charting not available
Visual Studio appears to randomly adopt American keyboard layout
FxCop: Provides static assembly analysis.
StyleCop: Provides source code analysis..
Team System Dev Edition doesn't recognize project type
Both can be integrated into visual studio by editing your .csproj files you include tasks to run the analysis..
Visual Studio 2008 Emacs Mode
Can be integrated by calling the command line FxCopCmd tool from a post build event.
Visual Studio find doesn't find all possibilities
Add something like this to your .csproj file.
nunit is not an available test framework in vs2008
We include a common custom dictionary with our analysis too.
How do I remove a project configuration in Visual Studio 2008?
You can miss that out if you don't want it.
<PropertyGroup> <PostBuildEvent>"%25ProgramFiles%25/Microsoft FxCop/FxCopCmd.exe" /file:"$(TargetPath)" /searchgac /console /dictionary:"$(SolutionDir)....\Tools\FxCop\Config\CustomDictionary.xml"</PostBuildEvent> </PropertyGroup>StyleCop:
This is done by importing the StyleCop targets
<Import Project="$(ProgramFiles)\MSBuild\Microsoft\StyleCop\v4.3\Microsoft.StyleCop.targets" />. (FxCop is built into VS2008 team edition now, it's called "code analysis"). [Edit: FxCop has a new home now and the latest version (1.36) can be downloaded here.
there is also talk of it being built into vs2010, but no mention of which level you will have to have to get it.].