Search Wiki:
Resource Page Description
Enforces StyleCop rules on projects using Team Foundation Server check-in policy. Policy provides Visual Studio integration for integrated policy violations review.

Available for TFS 2008 and TFS 2010.

The policy depends on StyleCop binaries to perform actual analysis. Please refer to StyleCop project page for StyleCop specific information http://archive.msdn.microsoft.com/sourceanalysis.

Current policy version is compiled with StyleCop 4.3.3.0.

For implementation details refer to the following blog posts:
Last edited Apr 18 2010 at 6:43 AM  by Eugenez, version 2
Comments
caponeman wrote  May 21 2010 at 4:47 PM  
Is there a way to import custom StyleCop rules into the cusotm check-in policy? When I import the StyleCop settings file, it does not pick up my custom rule. However, I can see the custom rule when I view the settings.stylecop file in the settings editor.

allenfeinberg wrote  Jul 7 2010 at 2:50 PM  
I downloaded version 4.4 from http://stylecop.codeplex.com/releases/view/44839 and I'm wondering how I can set a checkin policy for VS 2010. I see that the current StyleCop checkin policy only goes to 4.3.2.1. Will there be a new checkin policy available for 4.4?

valdisiljuconoks wrote  Jul 27 2011 at 10:47 AM  
I took initiative and recompiled policy for 4.5 version of StyleCop. Copyright remains for Attrice of course. Post here - http://dotnet.lv/blogs/vi/archive/2011/07/27/stylecop-4-5-team-foundation-server-2010-checkin-policy.aspx

TalhaAftab wrote  Sep 17 2012 at 3:27 PM  
Is there a TFS checkin policy available for VS2012 yet? Basically StyleCopCheckinPolicy1.3_2012.msi

knoxi wrote  Nov 30 2012 at 11:46 AM  
I'm also looking for a version for VS2012. Are there plans to support it?

Updating...
Page view tracker