tfsbuild

How to chain builds in TFS 2015?

江枫思渺然 提交于 2019-12-17 09:58:12
问题 Is there a way in TFS 2015 to have two builds such that the second build gets triggered whenever the first one finishes (successfully)? There are solutions for the old XAML based build system, but nothing for the new script-based system, which is what I'm using. 回答1: This question pops up every now and then. The official docs literally say "not yet" (see the last Q&A entry). There's also an ancient suggestion on UserVoice, which is in the Planned state since March this year. That's quite

Is it able to ignore/disable the first step Get source in vNext Build?

妖精的绣舞 提交于 2019-12-17 04:33:55
问题 Here is our situation-- sometimes we need to run a vNext build without needing to pull any source code from TFS server. But we don't want to change the workspace mappings. Is there a related setting simply ignore or disable the get source step in the build definition. Unlike any other task, the " Get sources " task added automatically when you create a new build definition, which is not able to disable or remove the task by right click it. Any suggestion appreciated! 回答1: It's not able to

Is it able to ignore/disable the first step Get source in vNext Build?

一个人想着一个人 提交于 2019-12-17 04:33:10
问题 Here is our situation-- sometimes we need to run a vNext build without needing to pull any source code from TFS server. But we don't want to change the workspace mappings. Is there a related setting simply ignore or disable the get source step in the build definition. Unlike any other task, the " Get sources " task added automatically when you create a new build definition, which is not able to disable or remove the task by right click it. Any suggestion appreciated! 回答1: It's not able to

TFS 2015 - On Site Build Failures

試著忘記壹切 提交于 2019-12-14 01:28:51
问题 Background: Had builds working for the past three months. Then, after getting failures I figured out the license was not valid for the Visual Studio install on our in house build server. Steps to correct: Fixed license issue. Along with installing all VS Updates and TFS Update 2. Additional steps taken to correct the issue: Builds were still failing so I deleted the agent and the build pool. Recreated a new pool and downloaded the agent. Installed the agent on the server, using my network

How do I get the Visual Studio Online credentials cached in the registry?

泪湿孤枕 提交于 2019-12-14 00:25:29
问题 When you sign into Visual Studio 2013, it caches your profile and credentials in the registry: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\ConnectedUser\IdeUser\Cache HKEY_CURRENT_USER\Software\Microsoft\VSCommon\12.0\ClientServices\TokenStorage\VisualStudio\IdeUser When you authenticate with Visual Studio Online using the TFS API, it then copies the credentials to: HKEY_CURRENT_USER\Software\Microsoft\VSCommon\12.0\ClientServices\TokenStorage\VisualStudio\VssApp use tfs = new

TFS 2015 build agent failing to sync TFVC

廉价感情. 提交于 2019-12-13 18:50:30
问题 For a specific project in my TFS 2015, a vNext build agent is unable to sync source code from the repository. Only message I can see in log file is: Starting: Get sources Syncing repository: RDW (TFVC) Workspace Name: ws_d565d474_34;Build\1b470f52-2a65-4b67-a68a-b8c32cebcad5 Done syncing repository RDW to version C283662 (workspace version -1) Note that "workspace version -1". If I check the work folder on my build agent server is empty (not even created). Still the workspace on TFS side is

TFS Build missing .targets files intermittently

浪尽此生 提交于 2019-12-13 18:24:08
问题 Our builds are failing on the TFS build server with the same errors from time to time. I'm getting this message on one of our projects (the error refers to a WebApi project): The imported project "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.CompactFramework.CSharp.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. And this one on another project (on smart device projects): The imported project "C:\Program Files (x86)\MSBuild

Notify developer that the file got overwritten

穿精又带淫゛_ 提交于 2019-12-13 17:16:26
问题 We are using Microsoft Team foundation server for version control where multiple developers are working on a branch and check in and check out the code. How can a developer A be notified via email or SMS that his code got overwritten during the checkin by developer B. Developer A needs to know this ASAP because the code changes of developer A will not work when its deployed into QA. We are tring to save time in a fast paced development environment and trying to avoid code overwrite issues.

How do I make a TeamCity build appear in the TFS Build Explorer?

痞子三分冷 提交于 2019-12-13 12:26:31
问题 We are using TFS 2010 for source control and project management, and TeamCity 6.0 for performing builds and build reporting (CI and daily deployments for testers). Setting up TFS source labeling in TeamCity to match the build number was very straightforward, but I cannot find a way to link this back to TFS Build Explorer. We want link these to be able to assign bugs to particular builds through TFS for the daily tester deployment builds. 回答1: I don't know if you can, at least without some

TFS2015 NuGet Packager: [error] 'System.Collections' already has a dependency defined for 'Microsoft.NETCore.Platforms'

拈花ヽ惹草 提交于 2019-12-13 08:51:49
问题 This question NuGet: 'X' already has a dependency defined for 'Y' has the answer for when NuGet has this issue in Visual Studio, but how do I update NuGet in TFS 2015? I am using the NuGet Packager build task and it is giving me the error [error] 'System.Collections' already has a dependency defined for 'Microsoft.NETCore.Platforms'. If this is not a bug then what am I doing wrong. The project is .Net 4.5.2 so I can't see why it would even have 'Microsoft.NETCore.Platforms'. It should be