title: Why does "tf history ." claim there is no working folder in my mapped TFS directory?
body: <p>I am trying to modify my project so that on build it queries for the current TFS changeset for the local directory and uses that to form the build number (using <a href="http://florent.clairambault.fr/insert-svn-version-and-build-number-in-your-c-assemblyinfo-file" rel="nofollow">http://florent.clairambault.fr/insert-svn-version-and-build-number-in-your-c-assemblyinfo-file</a> as a reference).  </p>
  
  <p>Since we currently are not using team build or any continuous integration for this particular project at this time I plan to use:</p>
  
  <pre><code>tf history . /r /noprompt /stopafter:1 /version:W
  </code></pre>
  
  <p>However, when I test this command out using the visual studio command prompt in my project's directly (where I work from TFS) it claims:</p>
  
  <blockquote>
    <p>There is no working folder mapping for xxxxxxxx</p>
  </blockquote>
  
  <p>The folder is shown as mapped in my workspaces in Visual Studio's Source Control Explorer (shows as the local path), and when I edit my workspace.</p>
  
  <p>Why is the command line utility claiming there is no working folder when it is?</p>