tfsbuild

How to put build process parameters into categories in TFS?

我们两清 提交于 2019-12-10 10:27:16
问题 When I open up a build definition I can see the arguments are split into sections with a number prefix e.g. 1. Basic, 2. Misc etc. However, when I edit the xaml there is no indication as to where these categories are defined. Can someone provide some guidance as to where they are located within the arguments list? Here is a similar question except the poster has inquired about a different parameter based off the build settings which I believe is a different case than regular parameters.

VSO/VSTS: Error when using Publish Build Artifacts on the host agent

安稳与你 提交于 2019-12-10 10:04:51
问题 When using the Publish Build Artifacts task, the following error gets thrown in the build (just after "Get sources"): The definition for the task does not have a handler that matches any supported by this agent. Supported handlers: AzurePowerShell, AzurePowerShellHandler, PowerShell, PowerShellHandler, PowerShellExe, PowerShellExeHandler, Process, ProcessHandler I am using the VSTS (formally known as VSO) Host Agent. 回答1: I can reproduce this issue too. Checked the source code for "Publish

MS Deploy task failed DeploymentBaseOptions does not contain a definition for UserAgent

杀马特。学长 韩版系。学妹 提交于 2019-12-10 02:29:08
问题 I am having trouble running a Team Foundation 2013 build with MS Build parameters for deployment and I am getting an error : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets (4255): Web deployment task failed. ('Microsoft.Web.Deployment.DeploymentBaseOptions' does not contain a definition for 'UserAgent') Development is being done in VS 2013. What is strange is that if I copy the MSBuild folder * ..\v11.0\Web* to the * v12.0\Web* The build works

TF270016: An error occurred publishing log files from

不羁岁月 提交于 2019-12-10 02:26:39
问题 Team, Its frustrating so far today with TFS 2012, I have been queuing a build and the build server is unable to copy/drop to the specified folder. I have installed TFS 2012 on Win Server 2008 R2. Basically the error says that the access to the destination folder is denied and so it is not able to copy. The TFS admin console shows the build service is running as LocalService. And I granted full control to the local Service account to the drop folder. I tried to even fiddle with Share tab in

Team Build, SGen & Mixed mode assembly

家住魔仙堡 提交于 2019-12-09 15:18:28
问题 Bit of a strange one here guys. We have a fairly complex (111 projects spread across asp.net, silverlight, WFC, Ria Services etc) solution, which builds correctly on my dev box (2010). If I fire up VS on our build machine, I can also build the solution correctly. However, when I queue a build, it almost makes it through, until it attempts to run SGen - at which point I get the old "Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime

How can I add a VS 2010 .Net 4.0 build agent to TFS 2008

穿精又带淫゛_ 提交于 2019-12-09 13:07:42
问题 My company has two development teams using TFS 2008. My team would like to migrate our .Net 3.5 app to the .Net 4.0 framework, but the company is not ready to upgrade TFS to TFS 2010. Can we still use TFS 2008's team build system but with a Visual Studio 2010 solution/project structure that targets the .Net 4.0 framework? I am thinking we would need to add a new build agent to TFS 2008 that would have VS 2010 installed. But I am not finding any information on how to do this. Is this possible?

Does TFS Record the Parameters to a Build?

旧巷老猫 提交于 2019-12-08 20:59:25
When queueing a new build, we get the option to change the default parameters. Do these changes get recorded somewhere, either in the TFS Operational Store or in the TFS Data Warehouse? kroonwijk These parameters should be available in the Team Foundation Build Operational Store, according to the behavior described in http://msdn.microsoft.com/en-us/library/ms244687.aspx . My advice is to log them as part of the build workflow, then the log will be stored with the build outputs. If you read the ALM Ranger Build Guidance they suggest taking this approach, and I believe the BRDLite customized

How do I detect if the test run was successful in a Team Build 2013 Post-Test script?

会有一股神秘感。 提交于 2019-12-08 20:59:00
问题 I have a build configuration in TFS 2013 that produces versioned build artifacts. This build uses the out of the box process template workflow. I want to destroy the build artifacts in the event that unit tests fail leaving only the log files. I have a Post-Test powershell script. How do I detect the test failure in this script? Here is the relevant cleanup method in my post-test script: function Clean-Files($dir){ if (Test-Path -path $dir) { rmdir $dir\* -recurse -force -exclude logs,"

MSBuild locking dll used on T4 template generated on build

不羁岁月 提交于 2019-12-08 15:51:39
问题 I'm having a lot of trouble trying to identify why MSBuild is blocking access to a dll used inside a new T4 template I just created. The problem is kind of hard to explain (and even ask, as is evident by the title). I created a T4 template to generate a c# class that is a wrapper to N other classes we have. This was the solution I came up with to expose multiple WCF Services over the same endpoint. The template code itself uses an assembly (Mobiltec.Framework.dll) that contains various

TFS build agent cannot locate npm

☆樱花仙子☆ 提交于 2019-12-08 15:29:12
问题 On a locally hosted TFS I'm using the "npm install" build step in my build definition. On the agent machine I have installed nodejs and can run npm from the command line. When I attempt to queue the build I get a pop up with the message: No agent could be found with the following capabilities: npm, DotNetFramework So I attempted to add the capability, first by refreshing the agent capabilities and when that had no effect I added a capability: npm C:\Program Files\nodejs Then the build starts