tfs

How to run nunit with msbuild from VS2010

折月煮酒 提交于 2019-12-31 10:24:50
问题 please tell me how to run nunit with msbuild. I am using TFS for code integration and VS2010 . 回答1: You probably want to integrate NUnit with TFSBuild and not MSBuild since you are using Team Foundation Server. You will need MSBuild tasks to be able to run NUnit as explained in the three following tutorials: Using NUnit and NCover with TFS Build Integrate Nunit test into a Tfs build MSBuild with NUnit The easiest way is to use the MSBuild Community Tasks where you already have a NUnit task

How to run nunit with msbuild from VS2010

假装没事ソ 提交于 2019-12-31 10:22:45
问题 please tell me how to run nunit with msbuild. I am using TFS for code integration and VS2010 . 回答1: You probably want to integrate NUnit with TFSBuild and not MSBuild since you are using Team Foundation Server. You will need MSBuild tasks to be able to run NUnit as explained in the three following tutorials: Using NUnit and NCover with TFS Build Integrate Nunit test into a Tfs build MSBuild with NUnit The easiest way is to use the MSBuild Community Tasks where you already have a NUnit task

TFS 2017.3.1 Merge Collections [closed]

假装没事ソ 提交于 2019-12-31 07:54:05
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . We are currently on TFS 2017.3.1 On Prem. We have 1 very large collection and another smaller collection. We would like to move the smaller collection into the larger. We use everything in TFS, code Git and Source Control, work items, builds, releases... Are there any tools

'CSC:CSC(0,0): Error CS2001: Source file [file] could not be found.' when running a gated check in (C#)

让人想犯罪 __ 提交于 2019-12-31 05:18:10
问题 I appear to have got in a bit of a mixup with my project and whenever a gated build and check in runs, I get the following errors..... Summary | Phase 1 15 error(s), 602 warning(s) Phase 1 - 15 error(s), 602 warning(s) CSC:CSC(0,0): Error CS2001: Source file 'd:\a\3\s\Main\SmartEndPointAssessment\SA.SEPA.Web.UI.Selenium\Features\AssessmentCentreEpaFeatures.feature.cs' could not be found. CSC:CSC(0,0): Error CS2001: Source file 'd:\a\3\s\Main\SmartEndPointAssessment\SA.SEPA.Web.UI.Selenium

What object returns from TFS2015 RestAPI

≡放荡痞女 提交于 2019-12-31 05:13:10
问题 I'm using TFS 2015 rest api in order to retrieve build definitions and builds details using those calls: definitions: http:///tfs/DefaultCollection//_apis/build/definitions?name= ampm &api-version=2.0 builds: http:///tfs/DefaultCollection//_apis/build/builds?definition=DigitalVault_Automation&statusFilter=completed&$top=10&api-version=2.0 I get a rich JSON and I wonder if there is a standard Class that I can deserialize those JSONs to. Couldn't find any reference in Microsoft's guide though.

Move TFVC code from one collection to another including history

拈花ヽ惹草 提交于 2019-12-31 05:11:09
问题 I need to move some code from TFVC in one project collection to a project in another collection. I also need to retain the check-in history, I'm not worried about the changeset ids but do want to retain the comment / who and when in the history along with the changes made. The project being moved to will be empty. This will be using on premise TFS2017 Update 3. (In preparation to migrating the collection to VSTS) Any suggestions on how to do this please? 回答1: There is a request for this

Error TF51635 Occurred while trying to create workitem batch

巧了我就是萌 提交于 2019-12-31 04:54:05
问题 When I try to create work items trough batch create operation I am getting below Error TF51635: There are duplicate temp IDs in the Update XML.\\r\\nParameter name: workItemUpdates\ There is no much information available in web regarding this error.below link contains TFS errors and codes , But I couldn't find detailed information about same. https://msdn.microsoft.com/en-us/library/aa337645(v=vs.80).aspx As per my research this issue could associate with Id notation in batch (error occurred

Number of WorkItems with changesets or linked items with changesets

百般思念 提交于 2019-12-31 04:27:11
问题 We have a system in use where developers will log a support ticket using a new 'Support Ticket' work item in TFS 2010. If there's a code change as a result they will link the changeset to this work item type. Alternatively if there's a related Bug in the system that requires a code change they will link the Support ticket to the bug and then check in the changeset linked to the bug. I'm trying to pull out a report either in TFS or preferably using SQL that gives me: the number of support

How to delete a Team Project Collection in TFS 2017

本秂侑毒 提交于 2019-12-31 03:30:46
问题 I have a Team Project Collection in TFS 2017 that is unused. It was created back, when TFS was new in our Company as a test. So there has never been real Code Checked in or anything. So I want to just delete. I couldn’t find out, how this works. 回答1: To delete a collection: Detach the collection, Delete the collection database Delete the SharePoint site collection that supported the deleted collection. Please see Detach or delete a team project collection for details, it's also applied to TFS

Create Build Definition from Template with TFS 2015 .NET Client Libraries

折月煮酒 提交于 2019-12-31 02:15:48
问题 I'm using the .NET Client Libraries for VSTS/TFS 2015 to programmatically create a build definition based off of a template that I've grabbed in another team project. I can get a build definition template (2.0) by using: BuildDefinitionTemplate builddeftemplate = buildHttpClient.GetTemplateAsync(teamProject, templateId).Result; And I can create a build definition by using: BuildDefinition builddef = new BuildDefinition(); builddef.Project = newTeamProject; But there doesn't look like a way to