How do I get the the expected output from a TFS 2015 build (to match my XAML build)?

前端 未结 2 1330
有刺的猬
有刺的猬 2021-01-21 06:27

We just upgraded to TFS2015 (onsite) and I\'m trying to set up a build that will do the same thing as my xaml builds but I can\'t seem to get the same files built. Here\'s a pic

2条回答
  •  感情败类
    2021-01-21 07:10

    Update your build definition to below:

    1. Add /p:DeployOnBuild=true /p:OutDir="$(build.artifactstagingdirectory)\\" arguments in Visual Studio Build step:
    2. Change "Path to Publish" of "Publish Build Artifacts" task to "$(build.artifactstagingdirectory)_PublishedWebsites\ProjectName":

    Save the build definition and queue a build, now you should get the same files published in drop folder like XAML build.

提交回复
热议问题