title: How can I use MSBuild to deploy to a folder in TeamCity?
body: <p>On my local dev machine this works perfectly:</p>
  
  <pre><code>msbuild project.name.csproj /p:DeployOnBuild=true /p:DeployTarget=PipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="c:\proyectos\folder1\deploy" /p:AutoParameterizationWebConfigConnectionStrings=false
  </code></pre>
  
  <p>I'm trying to configure a Build step in TeamCity with MSBuild, in the "Command line parameters" I'm putting this:</p>
  
  <pre><code>/p:DeployOnBuild=true /p:DeployTarget=PipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="c:\proyectos\folder1\deploy" /p:AutoParameterizationWebConfigConnectionStrings=false
  </code></pre>
  
  <p>It runs, no errors are displayed, but files are not copied to "c:\proyectos\folder1\deploy"</p>
  
  <p>Edit: I'm having the same issues with MSBuild on the command prompt, so it's not teamcity. My local dev machine is on windows 7 and the server is windows 2003</p>