Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I have the folder <code>C:\Program Files\Microsoft SDKs\Windows\v7.0A\FXCop</code> in my SDK install, however it is for the older version of FxCop. I also have the setup for the latest version of FxCop, but I can't remember where I found it, and its just as easy for you to download it from that other question.</p> <p>However these days I follow the instructions detailed on <a href="http://kentb.blogspot.co.nz/2011_01_01_archive.html" rel="nofollow">this blog post</a> because the FxCop command line runner produces different results than the IDE Code Analysis runner (namely because FxCop doesn't support the new phoenix engine), and I wanted my build server to enforce the same rules as were run in the IDE.</p> <p>This procedure also gave me the ability to relax the rules for my unit test projects (there is an issue in VS2010 whereby the ruleset configured for the first project built became the ruleset for all projects, regardless of what was configured).</p> <p><strong>UPDATE</strong></p> <p>If required, this <a href="http://blogs.msdn.com/b/codeanalysis/archive/2010/07/26/fxcop-10-0-is-available.aspx" rel="nofollow">Code Analysis Team blog post</a> says that the FxCop 10.0 setup is included in <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b" rel="nofollow">Microsoft Windows SDK for Windows 7 and .NET Framework 4 Version 7.1</a> and can be found in the folder <code>%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\FXCop.</code></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload