title: Why don't my artifacts published during the build using the publishArtifacts service message show up in TeamCity?
body: <p>I am creating a screenshot when my NUnit end-to-end test fails and I am trying to publish it with TeamCity (build agent and server both running on Windows) using the following service message (as described <a href="http://confluence.jetbrains.net/display/TCD65/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-PublishingArtifactswhiletheBuildisStillinProgress">here</a>) which I am writing with <code>Console.WriteLine</code> from an NUnit test:</p>
  
  <pre><code>##teamcity[publishArtifacts 'C:\BuildAgent\work\xxxxxxxxxxxxxxxx\Path\To\My\Stuff\fail.png']
  </code></pre>
  
  <p>I see the line in the build log:</p>
  
  <pre><code>------- Stdout: -------
  ##teamcity[publishArtifacts 'C:\BuildAgent\work\xxxxxxxxxxxxxxxx\Path\To\My\Stuff\fail.png']
  </code></pre>
  
  <p>But TeamCity is not picking up the file, or at least it is not showing up in the build artifacts. How do I make this work?</p>