tfs

A way to find out all affected files of a workItem or group of chgsets in TFS 2008?

寵の児 提交于 2020-01-01 09:58:04
问题 I'm trying to figure out a way to find out which files were affected by a work item in TFS 2008. I realize that this is a duplication of a question already asked by someone else here - View a list of all files changed as part of a Workitem in TFS but it went unanswered and I've been, off and on, looking for this for a while. I understand can view the links tab of the work item and then view each changeset to see the files that have been changed. But, the work item very likely will end up with

How can I totally remove TFS bindings from a solution?

☆樱花仙子☆ 提交于 2020-01-01 09:37:05
问题 We have a large solution with many projects. Some of the projects were outsourced, and the vendor used TFS. When they commited into our SVN repo, some of the bindings are still hanging around. When I open the sln, VS2008 says "The source control provider associated with the solution cannot be found, do you want to remove them". I hit yes, save and exit, and then next time it does it all again :) So - anyone know how I cam get rid of any TFS bindings from the sln once and for all? Do I need to

Using AsConfigured and still be able to get UnitTest results in TFS

回眸只為那壹抹淺笑 提交于 2020-01-01 08:47:08
问题 So I am running into an issue when I go to build my projects using tfs build controller using the Output location "AsConfigred" it will not detect my unit tests. Let me give a little info on my setup. TFS 2013 Update 2, Default Process Template Here is a few screenshots that can hopefully help fill in what I can't in typing. I am copying my build out to a file share on our network so that we can use other utilities use the output. I don't want to use "PerProject" or "SingleFolder" because

How to Add/Edit the Iteration Field in Team Foundation Server Scrum v1.0 beta Workflow

狂风中的少年 提交于 2020-01-01 07:54:05
问题 I downloaded and installed the new Team Foundation Server Scrum v1.0 beta work template from Microsoft. I would like to edit the drop-down that displays in the Iteration field used when entering a new Sprint work item. If I enter in a release / sprint number that does not exist I get the following message: "New Sprint 1: TFS20017: The area or iteration provided for field 'Iteration Path' could not be found" Does anyone know where I need to go to edit this listing? Thanks! 回答1: Connect to TFS.

How can I branch my code in a way that makes testing possible without contaminating the baseline?

狂风中的少年 提交于 2020-01-01 07:08:33
问题 Using TFS, we have the following: A main baseline A development branch for each development effort. These get merged back to the baseline. A release branch that is created with each release. Bug fixes are made here, released, and merged back to the baseline. Using shelvesets, we can share code across development branches if needed without contaminating the baseline. Useful for code reviews. When we deliver our development changes to baseline we have an automated build that kicks off and

Running Async Task unit tests with TFS 2010

烂漫一生 提交于 2020-01-01 07:07:23
问题 I am writing an application that is written in VS 2012 targeting .NET 4.0 using the Async library. My auto builds run on a TFS 2010 build agent that has VS 2012 and .NET 4.5 installed. I read everywhere that if your unit test is async it must have the async Task TestMethod() signature (rather than async void TestMethod() ). However when I do that my build server gives me this error for that method: Test method marked with the [TestMethod] attribute must be non-static, public, does not return

Determine in which branches a changeset in present

百般思念 提交于 2020-01-01 06:26:14
问题 I need to programmatically track changesets: determine in which branch a changeset is currently located. Update: Let's say we got three branches for a project: Dev, Test and Release. Whenever we're ready to go live with some changesets, we first merge them to Test, and then to Release as soon as the testing is done. I need to know where a given changeset is located in this workflow ( only in Dev OR in Dev + merged in Test OR in Dev + merged in Test + merged in Release ). It's already possible

How to version resources that are shared across projects

陌路散爱 提交于 2020-01-01 05:52:06
问题 We use Team Foundation Server and have numerous ASP.NET Web Application Projects. Each of the Web Apps uses a custom content management system that we've developed in house. The CMS is itself, an ASP.NET web app. When deployed, the CMS resides in a subdirectory, such as "/Admin". The CMS is comprised of .aspx and ascx files, and the corresponding assemblies are, of course, placed in the bin. Presently, the CMS files exist separately for each Web App in source control. In other words, an

Automating workspace creation in Team Foundation Server

牧云@^-^@ 提交于 2020-01-01 05:30:24
问题 Is there any way to easily create a workspace, based on a pre-existing "template" one? ...or some other way of creating workspace on behalf of others? 回答1: you can create a workspace using a command script using the tf workspace command. Then you can map work folders using the tf workfold command. The workspace command has a /template option For example: to create a workspace for someone tf workspace /new Beta1;jenh then create a new one based on the template tf workspace /new /template:Beta1

Visual Studio 2017 and TFS see what files are checked out and to who

廉价感情. 提交于 2020-01-01 05:04:09
问题 In Visual Studio 2015 I could use the TFS Power Tools and then do a "Find by Status" to get a list of all checked out files and who has them checked out. Does anyone know of a way to do this in Visual Studio 2017? I've read that they do not plan on releasing a TFS Power Tools 2017. Thank you, 回答1: Actually, the "Find by Status" feature only works for Server workspace. If you're using Local workspace, it doesn't show anything. As a workaround, maybe you could use the tf status command instead,