tfsbuild

TFS Build Test Results

十年热恋 提交于 2019-12-01 02:31:26
We're working on Visual Studio 2010 and TFS 2010. We have our own BuildTemplate that is a copy of default template, but with some additions like (create Directory...), but the main point, that all that is in DefaultTemplate - is left. We have witten "unit" tests that also are working. I have made Build definition that runs all the unit tests. Have read the information here - http://geekswithblogs.net/jakob/archive/2009/06/03/tfs-team-build-2010-running-unit-tests.aspx and a lot of other places also. Build runs just perfect, the only thing that is'nt working is a Build summary - Test results,

How do I resolve the root and relative paths of TFS folders on the server?

只愿长相守 提交于 2019-12-01 01:44:36
问题 I have created a CodeActivity for use in (custom) build definitions. This activity needs to copy files located on the server to/from places like the 'source directory', 'custom folders' to the 'drop directory' (etc.) before executing its primary purpose. Some of the variables I have are valid paths, but others are obviously placeholders for 'relative paths'. However, I need the physical server path so I can copy useful items to-and-fro. I NEED THINGS LIKE: The physical path for the projects

MSbuild Error: The builds tools for v140 (Platform Toolset = 'v140') cannot be found

核能气质少年 提交于 2019-11-30 23:03:55
问题 I have a solution which is consists of a large number of projects (C++ and C#). I upgraded the solution to VS2015, so the toolset version for most of them are now set to V140, but a small number of projects need to remain in V110 (third party libraries, etc). When I build the solution in Visual Studio 2015, it builds just fine, but when TeamFoundationServer tries to build it, it fails with the following error: C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform

Is it possible to Export TFS 2010 Build Definitions?

牧云@^-^@ 提交于 2019-11-30 21:00:24
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? Sean Lynch 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? . 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 prompt: C:\Program Files\Microsoft Visual Studio 10.0\VC> tfpt builddefinition /dump ProjectName

The directory containing the assemblies for the Visual Studio Test Runner is not valid

…衆ロ難τιáo~ 提交于 2019-11-30 18:36:06
We have upgraded our TFS installation from 2012 to 2013. When running our builds they will fail with the following error if unit tests are enabled: TF900547: The directory containing the assemblies for the Visual Studio Test Runner is not valid '' The build process template or build definitions has not been changed after the upgrade. The upgrade process did not change them. Where can I provide the path to the Visual Studio Test Runner and where is it located on disk? I do not know if "Visual Studio Test Runner" is a new option for 2013 or if this setting was also used before, when we were

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

点点圈 提交于 2019-11-30 17:52:03
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't these files getting cleaned up and what can I do to ensure my build machine doesn't run out of space

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

北城余情 提交于 2019-11-30 17:42:56
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 TFSBuild.proj to edit instead you must edit a workflow to customize your build. BTW am I correct if I say Microsoft is not supporting MSBuild in TFS 2010 and learning MSBuild as a TFS 2010 Team Build administrator doesn't worth? And another more question: is Microsoft going to replace Visual Studio Projects' language from MSBuild to something like Windows Workflow? Jim Lamb I'm the Program Manager for the build automation features of TFS, so I'd like to comment on

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

久未见 提交于 2019-11-30 17:26:42
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 adding this Magic Phase. What I want is triggering Continuous Integration Builds as an expected

Check out git-lfs files on VSTF build

好久不见. 提交于 2019-11-30 16:00:34
I've a repository hosted on VSTS, containig a file stored through git-lfs. If I just let VSTS build checkout the repository it just downloads the git-lfs metadata file containing the ID of the file. Here's the output how VSTS gets its source: Syncing repository: MyRepo (Git) Checking out c84ef2f2bbad4fa3dc70dbd4100534390b9c8f18 to d:\work\73\s Checked out branch refs/heads/develop for repository MyRepo at commit c84ef2f2bbad4fa3dc70dbd4100534390b9c8f18 What do I need to do to checkout the real file? Edit: I assume I need to manually call git lfs fetch after VSTS checked out the source. But how

Could not find SDK SQLite.UWP.2015 when building UWP application using Hosted TFS pool

此生再无相见时 提交于 2019-11-30 14:56:49
I have build a UWP application using Sqlite. On my local machine I had to install the following SQLite for Universal Windows Platform Visual Studio Extension to get it to build. I followed this blog when using sqlite on UWP I am now trying to implement Continuous integration with Visual Studio Team Services (was Team Foundation Server Online). I am using a Hosted pool to build my application but I get the following message: C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(2049,5): error MSB3774: Could not find SDK "SQLite.UWP.2015, Version=3.12.2". and it breaks