Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gatis 8 posts 128 karma points
    Nov 13, 2015 @ 13:42
    Gatis
    0

    How to deploy media with TFS

    I'm using Team Foundation Server continuous delivery to Azure - Azure Deployment. Everything working fine, except media files folder on azure... (media) Every time i publish my web on azure, previously added media on azure is deleted. Already tried add these parameters to "MsBuild Arguments":

    /p:SkipExtraFilesOnServer=True /p:ExcludeFoldersFromDeployment="media"
    

    after already defined params:

    /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.stagingDirectory)" /p:SkipInvalidConfigurations=true 
    

    but with no results, media folder is deleted anyway. Is there anyone who know the solution?

Please Sign in or register to post replies

Write your reply to:

Draft