tfsbuild

TFS 2013 Build Controller Not Respecting NuGet Package Restore

好久不见. 提交于 2019-12-19 16:57:05
问题 We are using VSO with an on-prem build controller (TFS 2013). I've enabled NuGet package restore in the Options menu of Visual Studio (migrated away from the old, deprecated way with the .nuget folder). Inside VS, restoring packages works just fine, however the build controller does not restore NuGet packages. The build controller runs under a service account and if I start VS (on the build server) as the service account and build my code it DOES restore the packages. How can I get the build

Visual Studio Team Services Release Definition - Task to rename a file?

假如想象 提交于 2019-12-19 13:12:10
问题 How can I rename a file in a release definition in Visual Studio Team services? Is there a built-in or marketplace task available or otherwise, how can this be achieved? Answer: Add the "Inline PowerShell" task from the marketplace Enter the following PowerShell code in the text area Param ( [string]$pathToFileToRename ) Rename-Item $pathToFileToRename NewName.txt Enter any required arguments in the arguments text box (you can use environment variables), for example. pathToFileToRename $

Should artifacts associated with a build record be deleted when the build record is deleted?

牧云@^-^@ 提交于 2019-12-19 10:12:27
问题 I am using the new VSO scriptable build system with an on premise build agent. The build publishes the following assets to an internal file share. Install Symbols to our internal symbol store. When a build is deleted either manually or based on retention policy the associated assets are not deleted. Should I expect that assets are deleted when the associated build record is deleted? 回答1: In 2015 RTM and currently in VSO, server drops are deleted when a build is deleted but drops to UNC shares

What is expected for DeployIisAppPath setting on MSBuild argument?

自古美人都是妖i 提交于 2019-12-19 06:46:30
问题 SERVERNAME(myDomain\Username) Application Pools Sites DEV Site1 DEV Site2 dev Site 3 bin Content ... Views etc ... This is my basic layout of our DEV web server. Our DEV web server has many sites running on it. I am trying to use TFS 2013 Build to publish my web site to the DEV server following articles from Vishal Joshi, Microsoft and others. My error is "ERROR_SITE_DOES_NOT_EXIST". The basic fix does not help me. In my example, I'm using /p:DeployIisAppPath="dev Site 3" . There are no

What is expected for DeployIisAppPath setting on MSBuild argument?

雨燕双飞 提交于 2019-12-19 06:46:01
问题 SERVERNAME(myDomain\Username) Application Pools Sites DEV Site1 DEV Site2 dev Site 3 bin Content ... Views etc ... This is my basic layout of our DEV web server. Our DEV web server has many sites running on it. I am trying to use TFS 2013 Build to publish my web site to the DEV server following articles from Vishal Joshi, Microsoft and others. My error is "ERROR_SITE_DOES_NOT_EXIST". The basic fix does not help me. In my example, I'm using /p:DeployIisAppPath="dev Site 3" . There are no

Is it possible to Export TFS 2010 Build Definitions?

南楼画角 提交于 2019-12-19 03:25:20
问题 I'm cleaning up old build definitions and I want to back them up in case there is something I'm missing, is there a way to export the build definitions using Visual Studio 2010? 回答1: You could use the TFS API to export it to a format that you could load it back in with like in How to Move TFS 2010 Build Definition between Projects? . 回答2: Team Foundation Power Tools commands has a command that will allow one to export/dump out a build definition to a text file. From the Visual Studio command

Large TFSUser\AppData\Local\Temp Directory on Build Machine

女生的网名这么多〃 提交于 2019-12-18 19:08:41
问题 I'm using TFS 2012 Update 1 on Windows Server 2008 R2. We have the TFS build running under the account TFSUser. The other day we ran out of space on our build machine. Upon investigation I found that the folder C:\Users\TFSUser\AppData\Local\Temp had over 50GB of files in it, some dating back as far as October of 2012. None of the files are overly large, but they don't ever seem to get cleaned up. Investigating today shows that folder gets written to a lot during an automated build. Why aren

Is MSBuild going to be dead because of Windows Workflow? [closed]

强颜欢笑 提交于 2019-12-18 19:02:34
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . MSBuild in TFS 2010 has been replaced by Windows Workflow 4.0. It means when you are creating a Build Definition, you won't have a

how to prevent an Gated Check-In to put the Keyword ***NO_CI*** in the Comment

最后都变了- 提交于 2019-12-18 18:56:52
问题 This Question is related to my Question Combining “Gated Checkin” and “Continuious Integration” Builds in Team Foundation Server I Posted this Morning Thanks to @pantelif I know that after a Gated Checkin Build build Continuous Integration Builds are prevented to be triggered as an (in mostly cases) expected behavior. The Team Foundation Server adds to the Check-In Comment the Keyword ***NO_CI*** to do that. In the Question you find here there is discribed that someone accidentally turned off

TFS Build error after installing Visual Studio 2015 Update 1

…衆ロ難τιáo~ 提交于 2019-12-18 12:24:32
问题 I installed Visual Studio 2015 Update 1 onto our build server and now I am getting errors copying the Typescript/Javascript files after the compilation completes. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3021: Unable to copy file "C:\Builds\1\XXX\XXX Continuous Integration\src\XXX\Trunk\XXX\XXX.Web\Content\Scripts\Admin\Reports.js" to "C:\Builds\1\XXX\XXX Continuous Integration\bin_PublishedWebsites\XXX.Web\C