title: Visual Studio C#-settings and StyleCop (MS Source Analysis)
body: <p>Does anyone have settings for Visual Studio, in XML or a .vssettings-file, that is compatible with <a href="http://code.msdn.microsoft.com/sourceanalysis" rel="nofollow noreferrer">StyleCop</a>?</p>
  
  <p>I've used the book <a href="https://rads.stackoverflow.com/amzn/click/com/0321545613" rel="nofollow noreferrer" rel="nofollow noreferrer">Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries</a> for guidance on what Microsoft finds to be the correct way to format C# and set my Visual Studio-settings accordingly.</p>
  
  <p>But when I use "Format Document" in Visual Studio, StyleCop will fire on all cylinders and complains on all sorts of things.</p>
  
  <p>Some errors even seems impossible to set in the settings. Like curly braces should be on a new line, if something spans for more than one row.</p>