tfs2015

How do I run tests remotely with VS2015?

让人想犯罪 __ 提交于 2019-12-02 01:08:36
问题 I've got some CodedUI tests I'd like to run on a remote machine from visual studio. Now it used to be that you'd install a test controller somewhere, a test agent on the box you want to run on, get them talking, then use a test settings file that was pointed to that controller. I was going through this and installed agents for 2015 update 3 on my run box. I noticed that there is no controller configuration option. After some googling I found this: https://vstfsalm.wordpress.com/2015/08/18/tfs

TFS confused by team, area, project, area, iteration

旧巷老猫 提交于 2019-12-02 01:03:16
问题 I'm confused by all the stuff in TFS. Can someone please explain how all this fits together? Team project collection Team project Team Area Iteration From this page, I think a (team) project collection can contain multiple (team) projects, which can contain multiple teams. Is that right? Can projects contain other sub-projects? Can teams contain other sub-teams? The team defines a set of people (team members). Anything else? I think the team can define its own area and iterations, or else

How do I get the the expected output from a TFS 2015 build (to match my XAML build)?

╄→尐↘猪︶ㄣ 提交于 2019-12-01 23:51:05
We just upgraded to TFS2015 (onsite) and I'm trying to set up a build that will do the same thing as my xaml builds but I can't seem to get the same files built. Here's a picture of the xaml output directory that I use to publish the site. To get this I navigate to the build folder then drill down to the _PublishedWebsites\BOTWSitecoreWeb folder: Here's a picture of the solution explorer: So as you can see BOTWSitecoreWeb is my startup project and it forms the basis for the website. So to publish this website I simply copy the folder: _PublishedWebsites\BOTWSitecoreWeb to my IIS directory.

How to access a build's custom variable in script in TFS 2015?

扶醉桌前 提交于 2019-12-01 23:08:08
In Team Foundation Server 2015 in build definition I use my custom variables defined on Variables tab. Is there any way to access them in PowerShell build step like predefined variables can be accessed e.g. "$env:BUILD_DEFINITIONNAME"? Thank you [disclaimer: I work on the new build system] I often advise folks to use the cmdline task or a cmd script to print out the variables (call set on windows, env on *nix). There's docs etc... but actually running it will show exactly what is really available. Add cmdline task (in utility) with tool = cmd and arguments = /k set Variables on the definitions

Use $(SolutionName) in the MsBuild commandline parameters

别说谁变了你拦得住时间么 提交于 2019-12-01 21:18:55
In order to emulate the "PerProject" option in TFS 2013's XAML build in the new Build 2015 task based builds, I'd like to be able to pass the SolutionName to the msbuild commandline arguments without having to manually set it every time. I'd like to do something like: /p:OutputPath=$(Build.BinariesDirectory)\$(SolutionName)\ Where I'd like MsBuild to infer the $(SolutionName) parameter. But when passing this on the commandline, the new task runner will substitute the $(Build.BinariesDirectory) with the correct target path and leaves $(SolutionName) alone. Unfortunately MsBuild subsequently

Stop opening TFS builds in browser instead of IDE

社会主义新天地 提交于 2019-12-01 17:01:59
I recently upgraded my team's build server to TFS2015 from TFS2013. Everything is going smoothly, except from within my IDE, I can no longer open the Build Explorer . As far as I know, I have not changed any settings within my IDE, but builds now open as if I had selected the right-click context menu for Open in Browser available for completed builds. This behavior started after I finished the TFS upgrade. As far as I know, I am the only one affected on my team. Does anyone know how to convince Visual Studio 2015 to use the Build Explorer window again? The build explorer is now available again

Should artifacts associated with a build record be deleted when the build record is deleted?

廉价感情. 提交于 2019-12-01 11:13:29
I am using the new VSO scriptable build system with an on premise build agent. The build publishes the following assets to an internal file share. Install Symbols to our internal symbol store. When a build is deleted either manually or based on retention policy the associated assets are not deleted. Should I expect that assets are deleted when the associated build record is deleted? In 2015 RTM and currently in VSO, server drops are deleted when a build is deleted but drops to UNC shares are not. We have work on our backlog to address this. EDIT: In 2015 QU2, this is enabled. Also if you on

How to add/update individual result to each test step in testcase of VSTS/TFS programatically

我们两清 提交于 2019-12-01 09:35:53
问题 I'm able to update test result to testcase in VSTS through program. Test Case Result Updation Now, i want to update the result of each test step in test case. Couldn't find any related info. Please help 回答1: The simple way is using client API: Simple sample: int testpointid = 176; var u = new Uri("https://[account].visualstudio.com"); VssCredentials c = new VssCredentials(new Microsoft.VisualStudio.Services.Common.VssBasicCredential(string.Empty, "[pat]")); TfsTeamProjectCollection _tfs = new

TFS 2015 visual studio build task does not support VS 2017

﹥>﹥吖頭↗ 提交于 2019-11-30 18:50:00
We have a build definition in TFS 2015 that have worked fine with Visual Studio 2015 projects and solutions. We have now decided to upgrade to Visual Studio 2017 and thus we would like to target Visual Studio 2017 in the Visual Studio build task. We have installed Visual Studio 2017 on the build agent. Unfortunately the only options available int the Visual Studio build task are 2012, 2013, 2015 and Latest. We have tried latest but it does not find Visual Studio 2017 on the build agent. It won't work with the msbuild task either. I have a similiar issue and resolved by installing VS2017 in my

How to remove Sharepoint and Reporting Services from TFS 2013?

早过忘川 提交于 2019-11-30 09:38:54
问题 We’re running TFS 2013 Update 1 and I’m planning an upgrade to TFS 2015 Update 1. We have both SharePoint and Reporting Services installed and configured for TFS that I like to remove, because nobody ever uses them. So, do I simply uncheck both Reporting and SharePoint during the TFS 2015 upgrade wizard. Is this the best way to do it? Or, do I un-configure Sharepoint and Reporting Services first from our TFS 2013 installation? If so, what are the steps to do so? Environment: Server computer A