tfsbuild

VSTS Build Definition for Android failing

早过忘川 提交于 2019-12-11 06:06:35
问题 I'm starting using the build definitions from Team Services for a Xamarin Android App. In Visual Studio everything works fine and I can check in the code to VS Team Services. UPDATE 1 Now, at the moment to create an Build Definitions for my project, it's falling. And this is part of the log: 2016-10-13T03:30:45.7198826Z Considered treating "Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL" as a file name, but it didn't exist. 2016-10-13T03:30:45.7748834Z 2>C:\a

What is the difference in TFS 2010 between a source server and symbol server?

痴心易碎 提交于 2019-12-11 06:05:55
问题 I have read a couple of posts for instance... http://blogs.msdn.com/b/adamroot/archive/2009/06/17/source-server-and-symbol-server-features-in-team-foundation-server-2010-beta-1.aspx http://blogs.msdn.com/b/jimlamb/archive/2009/06/15/symbol-and-source-server-in-tfs-2010.aspx From what I have read these are both useful server applications to setup for better debugging support when dealing with older versions of applications that require analysis. In the first link the msdn blogger mentions that

Unit tests are failing when run from dotCover

点点圈 提交于 2019-12-11 05:52:50
问题 I have a TFS 2015 build which builds one of our applications (it's an ASP.NET Web API application). As part of the build process it runs our unit tests. I have a Visual Studio Tes t build step which runs these unit tests and they all pass okay. I then run dotCover from this same build to determine code coverage (no we don't use the built-in code coverage as we don't have enterprise licences). However, when run from dotCover all the same unit tests fail. I use a script step to run a batch file

Variable of Solution Directory (or something close) in TFS 2010 Build

不打扰是莪最后的温柔 提交于 2019-12-11 05:31:37
问题 I am running a Invoke Command at the end of my build. I am trying to get it to run a batch file. But I don't want to hard code the path to the batch file (in case I move my build to a different build server). I need a variable to put in for the WorkingDirectory of IvokeProcess. In TFS 2008 Build I would have used $(SolutionDir) . But I can't find anything like that in TFS 2010 Build. (I tried Environment.CurrentDirectory and I got C:\Windows\System32 What can I do to get a reference to the

How to automate Build/Release definitions in TFS 2018?

吃可爱长大的小学妹 提交于 2019-12-11 05:07:38
问题 I wish to automate management of my Build/Release definitions, for easy backup/restore operations. How can I do this in TFS 2018? I'm open to using either the REST API or the SDK, although I prefer the SDK whenever possible. --EDIT-- This is for TFS, not VSTS 回答1: In TFS 2018 and later versions, it supports export/import build/release definitions directly. Build/Release definitions are implemented internally as .json files, so you can see details on changes in the file’s history: Check the

How to reset build number in TFS 2010

别等时光非礼了梦想. 提交于 2019-12-11 04:23:27
问题 Can I reset build number in TFS 2010. And another question. If Project have several build definitions, Can I keep build number for each build definition. Not create custom activity 回答1: The build number is set using the build number template that you specify in the Build Definition. When editing your Build Definition go to the Process tab -> Build Number Format field and you can customize what you want the build numbers to look like. The default format is: $(BuildDefinitionName)_$(Date

Programmatically access tfs build output

时光毁灭记忆、已成空白 提交于 2019-12-11 03:57:51
问题 I'm trying to write a powershell script to allow a user to specify a tfs build id (or alternately a changeset id) and download the build output to the current directory. I have the build configured to copy the output to the server, which means only the most recent build output will be accessible in that directory. However from Visual Studio, or from the TFS Web Access, I can download the drop as a .zip file. How can I access this .zip file programmatically (either in powershell, or even if I

How to increase the log file size threshold for TFS 2015 Build

落爺英雄遲暮 提交于 2019-12-11 03:54:29
问题 So those of us using the new TFS build system will undoubtedly have come across this rather annoying message: Has anyone came across a setting for this and how to eliminate or increase it? In this particular example, my log file is just over 2MB. Of course I can download the logs but I'm happy to wait a few seconds for this to load! I want the errors and warnings highlighted and coloured nicely in my scrollbar. 回答1: Unfortunately,there are no such settings. You can use some useful tools to

Getting the BuildAgent information from a Build

跟風遠走 提交于 2019-12-11 03:53:47
问题 I have a IBuildDetail variable with the build information I need. Okay, but when I check the property BuildAgent it's showing this: build.BuildAgent' threw an exception of type 'System.NotImplementedException Then I tryed to check build.BuildController.Agents, it's nice I found the BuildAgent, but there are 7 build agents in this collection. I need only the build agent related to my build, not all build agents from that controller. Anyone knows how to get that information? (Select a build

LabDefaultTemplate-> ExecuteRemoteTestRun2 doesn't take in account the Order field of the test in the MTM

末鹿安然 提交于 2019-12-11 03:17:32
问题 The Scenario: Create 2 codedui tests. First Test will be Test1 and the second Test2. Create 2 test cases in the mtm. Create 2 suites in the MTM. Suite1 and Suite2. Add to Suite1 the tests in the following order, Test1 then Test2. Add to Suite2 the tests in the following order, Test2 then Test1. Now create a build with the template "LabDefaultTemplate" In the Tests add Suite1 and Suite2 Now Use the MTM and change the order of the tests in the suites and run the build again. The Test Agent run