Deployment to a network folder in TFS

Last post 07-21-2008 2:32 AM by Thomas Sun – MSFT. 1 replies.

Sort Posts:

  • Deployment to a network folder in TFS

    07-16-2008, 10:00 AM
    • Loading...
    • Coops
    • Joined on 05-24-2006, 9:01 AM
    • Posts 3

    Hi,

    I've been looking through the web deployment projects for a few hours now, Want I want to do is add a deployment project to our websites and have TFS deploy the build's automatically to locations on our test servers.

    For both the Debug and the Release modes of our site I've set the OutputPath to a shared folder on our test server, when I build the project locally the files are deployed to the correct location. However when it is built within TFS the site is deployed to a folder called \(BUILDNAME)_20080716.14\Release\_PublishedWebsites\(PROJECTNAME) and nothing is pushed to our test servers.

    Does anyone have an idea what I'm missing? Thought it would be straight forward but there is a supprisingly small amount of information around about trying to do this.

    Thanks for any pointers

  • Re: Deployment to a network folder in TFS

    07-21-2008, 2:32 AM
    Answer

    Hi,

    When we use Team Build, the "OutDir " property is used, instead of "OutputPath".

    To resolve this, you can try to set the "OutDir " property in web deployment project file.

    For more information, see http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1798808&SiteID=1 and  http://blogs.msdn.com/aaronhallberg/archive/2007/06/07/preserving-output-directory-structures-in-orcas-team-build.aspx

    You also can do a build task to copy web deployment to location you want after building. For more information, see http://andrewmyhre.wordpress.com/2008/05/09/make-team-build-and-web-deployment-projects-play-nice/

     

    I look forward to receiving your test results.

     

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (2 items)
Microsoft Communities
Page view counter