title: TeamCity FxCop Selecting MinimumRecommendedRules.ruleset has no effect
body: <p>I have added a Build Step in TeamCity 8.0.6 (build 27767) to execute FxCop against a specific c# project assembly.</p>
  
  <p>When running FxCop from within VS 2013 with the MinimumRecommendedRules set I get no errors or warnings (I fixed them all). </p>
  
  <p>Now I want to wire this up in TeamCity. To limit the rules I am specifying a command line property as follows:</p>
  
  <pre><code>/ruleSet:=MinimumRecommendedRules.ruleset  /rulesetdirectory:'FxCop\Rule Sets'
  </code></pre>
  
  <p>(The rulesetdirectory parameter points to a location in my source tree which contains the full contents of the standard Rule Sets folder)</p>
  
  <p>However this does not have the desired behaviour, the FULL rule set is run and I get an error as follows:</p>
  
  <blockquote>
    <p>FxCop warning: Keyword=CA0063 Kind=Engine Type=Microsoft.FxCop.Sdk.FxCopException * Failed to load rule set file 'MinimumRecommendedRules.ruleset' or one of its dependent rule set files.</p>
  </blockquote>
  
  <p>And this is the TeamCity generated command line:</p>
  
  <blockquote>
    <p>[17:32:29]Starting: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\FxCopCmd.exe" /forceoutput /ignoregeneratedcode /ruleSet:=MinimumRecommendedRules.ruleset "/rulesetdirectory:'FxCop\Rule Sets'" /f:dal\bin\release\MyDAL.dll /out:C:\TeamCity\buildAgent\temp\buildTmp\fxcop-output-1891867450083417003\fxcop-result.xml</p>
  </blockquote>
  
  <p>Can anyone spot what is wrong?</p>