Note that there are some explanatory texts on larger screens.

plurals
  1. POHave TFS 2010 Build server publish to the same folder and overwrite
    primarykey
    data
    text
    <p>I've been looking for ages and I'm so exasperated because what I want to do is theoretically so simple!</p> <p>I have a web project and when I tell my TFS to queue a new build I want my published files(or un-published files - I don't care) to end up in a static folder such as "C:\inetpub\myproj\webfiles". </p> <p>I've checked out this post <a href="https://stackoverflow.com/questions/4226499/tfs-2010-build-publish-via-file-system">TFS 2010 Build Publish via file system</a> which led me to this post <a href="https://stackoverflow.com/questions/4041836/team-build-publish-locally-using-msdeploy/4045406#4045406">Team Build: Publish locally using MSDeploy</a> but I just don't get it and it doesn't seem to be working.</p> <p>I have my build definition all set up and it builds successfully and will even build into a folder that I specifiy, but once it's built it ends up in a shed load of subfolders - one of which has a version number appended meaning IIS won't automatically pick up my latest version without some re-config. (I did remove the version bindings, but then it won't overwrite the last build with the latest build)</p> <p>I'm currently messing around with these MSBuild Arguments to try and get it working: </p> <pre><code>/p:DeployOnBuild=true; DeployTarget=PipelinePreDeployCopyAllFilesToOneFolder; _PackageTempDir="\\HomeServer\inetpub\SiteTest"; AutoParameterizationWebConfigConnectionStrings=false </code></pre> <p>But there's a couple of points: </p> <ul> <li>The 'SiteTest' folder is never created and</li> <li>It's being accessed via share location when it's meant to be the HomeServer's local file system I want to publish too.</li> </ul> <p>I just need to automatically get my web files inside of a folder I can predetermine for IIS, please help!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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