views:

1824

answers:

4

I wonder if anybody tried to integrate StyleCop into CruiseControl.NET.

Does anybody know something about it? or at least did anybody create and publish an xsl file for displaying StyleCop result onto CCNet's dashboard?

EDIT: I found this project, it provies cmd interface for StyleCop, produces result in xml format and also provides xsl for transforming this xml into html. Now just put these things together with CCNet.

+2  A: 

Maybe this could help you: http://stylecopcmd.wiki.sourceforge.net/

Igor Brejc
+3  A: 

I've been using StyleCop as a part of a TeamCity build environment.

(TeamCity is like CruiseControl.NET, but with decent documentation and an almost zero need to monkey around with Xml configuration files.)

I wrote my own front end for StyleCop to make this work.

See http://www.nichesoftware.co.nz/content/stylecop-cmd

Bevan
What limitation have you found in using TeamCity Pro vs CruiseControl since alls not free in TeamCity...?
Binoj Antony
TeamCity Professional is the free edition - it's limited to 20 build configurations and 3 build servers, which isn't much of a limitation at all. My work purchased the Enterprise edition to gain unlimited build configurations and LDAP integration. The 20 build configuration limit isn't going to limit many uses. All of the limitations I've run into are problems with CruiseControl: Lack of documentation, the need to hand-configure XML, lack of polish and so on.
Bevan
A: 

MSBuild Extension Pack

Supports StyleCop....

Adam Fyles
+3  A: 

On October 5th, 2009 Yves Tremblay added a nice StyleCop integration to CCNET Community. We switched from StyleCopCmd to this solution and didn't regret.

The Chairman