tfs-2015

TFS 2015 - On Site Build Failures

試著忘記壹切 提交于 2019-12-14 01:28:51
问题 Background: Had builds working for the past three months. Then, after getting failures I figured out the license was not valid for the Visual Studio install on our in house build server. Steps to correct: Fixed license issue. Along with installing all VS Updates and TFS Update 2. Additional steps taken to correct the issue: Builds were still failing so I deleted the agent and the build pool. Recreated a new pool and downloaded the agent. Installed the agent on the server, using my network

TFS Server checkin error - could not find file - Server Related and Command Line

北城以北 提交于 2019-12-14 01:18:09
问题 This relates to question, TFS checkin error - could not find file "When checking in my project I get the error: Could not find file 'C\blah blah blah'. I have a feeling this might be a file from an old project I deleted. I have tried deleting my TFS connection and workspaces. The Solution was: This will happen when TFS has some changes staged that no longer exist on the file system. For instance, if you add some files in Visual Studio (which adds them to the changes list), delete them

Move bugs with history and attachments to a new project

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 23:35:05
问题 We have 2 projects in TFS 2015 that we want to merge, both are in the same project collection. I would like to export the bugs from project B with history and attachments and import them into Project A. I would also like to export the Test plans with Outcomes from Project B into Project A. I'm thinking the Bugs may be easier than Test Plans and results. Any thoughts? 回答1: In TFS 2015, to import work item without history, you can create query and export and import via Excel. See Migrating TFS

Add/Remove users in TFS 2015 using REST API powershell

╄→尐↘猪︶ㄣ 提交于 2019-12-13 10:42:11
问题 I want to add or remove users from TFS using REST API. Any help appreciated. 回答1: Afraid this can't be achieved through Rest API for now. If you really want to do it programmatically. You can use client API. You can try to use IIdentityManagementService.ReadIdentity() along with IIdentityManagementService.AddMemberToApplicationGroup() to add Windows users to TFS groups, even if those Windows users are not known to TFS yet. This is accomplished by specifying the ReadIdentityOptions

TFS2015 NuGet Packager: [error] 'System.Collections' already has a dependency defined for 'Microsoft.NETCore.Platforms'

拈花ヽ惹草 提交于 2019-12-13 08:51:49
问题 This question NuGet: 'X' already has a dependency defined for 'Y' has the answer for when NuGet has this issue in Visual Studio, but how do I update NuGet in TFS 2015? I am using the NuGet Packager build task and it is giving me the error [error] 'System.Collections' already has a dependency defined for 'Microsoft.NETCore.Platforms'. If this is not a bug then what am I doing wrong. The project is .Net 4.5.2 so I can't see why it would even have 'Microsoft.NETCore.Platforms'. It should be

TFS 2015 - Setting permissions per area

夙愿已清 提交于 2019-12-13 08:18:14
问题 I've recently completed the deployment of TFS 2015 Update 1, we have around 15 development teams in the UK and previously we have always structured our TFS projects as follows: Default Collection Application 1 (Team Project) Application 2 (Team Project) This caused issues with sharing work items across teams as it is difficult to move WI's across the project boundary. Rather than create a new team project for each team, I want to manage things with a single team project and create separate

File attachment to a work item - TFS 2015

江枫思渺然 提交于 2019-12-13 03:39:11
问题 I am trying to attach a file with TFS test case work item. As first step, I am trying to create the attachment file in TFS attachment store. Once the file is created in the attachment store, I would be getting AttachmentReference object and with that object, I am planning to attach the file with the selected work item with ID 595. But, my process hangs at CreateAttachmentAsync function call. Any help is appreciated! public void AttachFile(VssConnection connection) { //use the

Branch Policy: Require atleast 1 Approval from specified approvers

ぐ巨炮叔叔 提交于 2019-12-13 02:11:40
问题 So we have 6 people in the project team. 1 Techlead and 1 Assistant Techlead. In our branch policy we want to setup that only the Techlead and Assistant Techlead can approve the pull request. We only need 1 approval from them to avoid bottle neck if the other one is on leave. The problem is there are only 2 choices in the branch policy setting. A. Specifying the number of required approver (Will not work since normal developers would be able to approve as well) B. Specifying the actual person

Reporting TFS 2015 tag data in custom SSRS Reports

半腔热情 提交于 2019-12-13 01:24:43
问题 I need to add tag reporting capability to a collection of custom SSRS reports which query TFS_Warehouse (and in one case I had to query the operational store to gather test case steps). These reports all use a SQL Server datasource connected to my custom TFS_Warehouse_Extensions database. If this sounds familiar, I asked this question yesterday and got a wonderful response... then I discovered we upgraded from 2013 to 2015 last week and dbo.workitemsare is gone. I am using VS 2015 and am more

Best practice for Agent Queue Users in TFS 2015?

早过忘川 提交于 2019-12-12 22:34:45
问题 I have installed Team Foundation Server (TFS) 2015 with update 3 in some sandbox and test environments. In each environment I have to manually add users to the Agent Queue Users group to make it possible for any user to start a build. Ahmed Al-Asaad has blogged about how to do just that here. I have failed to find any Microsoft documentation that describes who should be members of the Agent Queue Users group and it baffles me why the group is empty. The closest documentation I've found is