title: Enforce custom stylecop rules for a checkin policy on TFS
body: <p>I have installed StyleCop CheckIn policy (from <a href="http://teamfoundation.blogspot.com/2009/07/updated-stylecop-checkin-policy-v121.html" rel="nofollow noreferrer">here</a>) and it works great. However I have written some custom rules which I want to be enforced as part of the CheckIn policy (Visual Studio 2008, Team Explorer 2008, TFS 2005).</p>
  <p>The custom rules appear fine in the settings file when I right click on a project and click &quot;StyleCop Settings&quot;. However when I add my CheckIn policy, and try to import the same settings.StyleCop file my Custom Rules don't appear in the editor window.</p>
  <p>Another problem, probably related, is that my custom rules appear in the StyleCop settings editor when I open the editor from Visual Studio. However if I open the editor by double-clicking a settings file from Windows explorer my rules are nowhere to be seen.</p>
  <p>Now can anyone tell me if it is in fact possible to have custom rules as part of a checkIn policy, and if so how to go about getting them to appear in the StyleCop settings editor window when adding a checkIn policy.</p>
  <p>Thanks,</p>
  <p>Neil</p>