tfsbuild

vNext and new task RunDistributedTests - parallel testing

穿精又带淫゛_ 提交于 2019-12-13 07:20:14
问题 In TFS update 2 is available new task "RunDistributedTests" it can work with test plans and test suites. In my case I want run test suite on 5 machines at the same time (parallel testing) My test suite include Coded UI tests. The machine group to consists of 5 tests machine. After execution I see the next result: The tests running only one machine that is the first at the list of Machine group. Other machines doesn't have any action. I checked the log file DTAExecutionHost.exe.log and found

Finding builds in Team Explorer's “My Builds”

点点圈 提交于 2019-12-13 07:07:59
问题 I'm writing a Visual Studio 2012 add-in which extends Build Explorer - basically, I add a context menu option for every build (completed or running, but not queued). Following a blog post about doing this in VS2010, I managed to do so for builds that appear in Builder Explorer - hooray! Now, my context menu also appear in Team Explorer's Builds pages, My Builds section. However, when I get the callback, I can't find the actual builds anywhere! Here's my beforeQueryStatus event handler, where

Can you queue Build-Deploy-Test workflows in TFS 2010?

让人想犯罪 __ 提交于 2019-12-13 05:30:24
问题 I have been using the Build-Deploy-Test build workflow for TFS 2010 (see here http://msdn.microsoft.com/en-us/vstudio/gg131922.aspx) and would just like to know if there is a way you can queue one or more of these to run on the same lab environment? I have come up with a brittle but (mostly) working solution to this by modifying the Build Template. I set the 'environment in use' flag whenever the workflow starts, and any subsequent workflows loop and wait for the flag to be cleared. My

TFS Build Copy to Versioned Folder

半世苍凉 提交于 2019-12-13 04:28:55
问题 I'm currently looking at a TFS build server setup & I was trying to set up a process whereby I can set up a build template to build to a folder based on the version number of a .NET assembly that's part of the build (As per the assemblyinfo.cs file). I've got it building to the standard looking folder ("Release_20130502.1"), but that's not exactly useful in 4 months time when we want to find the build for the v1.1.0 release. Basically I want to make a special build template which will create

TFS build does not copy Cordova project output

蹲街弑〆低调 提交于 2019-12-13 04:25:51
问题 I am working on a Cordova project developed with Visual Studio Tools for Apache Cordova CTP 3.1 in Visual Studio 2013 Update 4. I have created a TFS build definition (I'm using TFS 2013) for the project that is able to build the project. I get the correct output, but this output is not copied to the specified dropped location or anywhere else. I have tried a lot of things and nothing worked. I believe it must be related to the fact that the .jsproj does not define and OutputType or an

NuGet package restore in builds and Visual Studio

佐手、 提交于 2019-12-13 03:40:52
问题 We have a number of VS2013 solutions, with the "Enable NuGet package restore" option selected. Remembering back, selecting this option creates a ".nuget" solution folder containing a number of files (NuGet.config, NuGet.exe, NuGet.targets). As a final step, I would edit the NuGet.targets file to add a package source for our in-house repo. I've just upgraded our old TFS2012 server to Azure DevOps 2019 and am currently creating new build pipelines to replace our old XAML-based build definitions

TFS 2015 XAML Builds with Visual Studio

巧了我就是萌 提交于 2019-12-13 03:35:11
问题 We will be upgrading to Visual Studio 2017 on our build server shortly, but I will still be using TFS 2015 XAML builds for our continuous integration. I was told at one point in another thread (https://social.msdn.microsoft.com/Forums/en-US/de9449dd-25ee-4170-8937-62552a2f0dd1/tfs-2017-upgrade-and-preexisting-xaml-builds?forum=tfsgeneral), which has since been archived that this combination is still possible. I just have to pass a build flag, /p:visualstudioversion:15.0, in the XAML Build

TFS 2012 Builds and SQLite for WinRT

萝らか妹 提交于 2019-12-13 02:59:29
问题 Working on a Windows Store App which is utilising SQLite for WinRT. Local builds work fine due to the installation of the VS2012 Extension SQLite for Windows Runtime. This adds 2 SDK references into the project config which points to the local file system (not part of the solution). But TFS 2012 Build freaks out saying that the build is broken as it can't find the SQLite and C++ dlls. I am using the MS hosted TFS so installing the SDKs on the build server is not an option. Any ideas? 回答1: I

TFS Build using PowerShell x86 to run

岁酱吖の 提交于 2019-12-13 01:29:21
问题 I currently have a build definition setup where I call a PowerShell script to do some "extra stuff" such as using a custom version number and DLL signing. A problem I'm having is that in my PowerShell script, I am trying to load an assembly so that I can create an object of a certain type and that I get an error when I try loading the assembly. I found out that the assembly that I need to load requires the script to run as a x86 process. I found this out when I ran my PowerShell script as a

Running a build against multiple projects with different build arguments

怎甘沉沦 提交于 2019-12-13 00:38:08
问题 I have a series of projects that need to be compiled and published, deployed to separate directories with separate MSBuild arguments. As it stands, I have separate builds for each. For example, project 1: MSBuild Arguments: /target:myTarget /property:PublishDir=\\1.1.1.1\PublishDir1 and project 2: MSBuild Arguments: /target:myTarget /property:PublishDir=\\1.1.1.2\PublishDir2 However I'd like to merge them into a single build. The problem I have is that although TFS will allow me to specify