vs2008 code analysis vs. stylecop

B

Benjie Fallar III

hi,

im a little confused on the official difference between VS 2008 Code
Analysis tool and CodePlex StyleCop. When to use VS 2008 code analysis and
when to use StyleCop?
 
C

Cowboy \(Gregory A Beamer\)

The internal code analysis is FxCop, if I remember correctly, which is run
against compiled assemblies. StyleCop is run against source code. The rule
sets are very similar, but style cop can check things like headers, which
are not compiled into the release.

You can build both into an automated build, although StyleCop is designed to
fold into an MSBuild task without any tweaking. FxCop can be done with a
custom build task.

Hope this helps!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top