tfs

Merging deletes in a Team Foundation Server baseless merge

I have two TFS branches that do not have a direct parent/child relationship in TFS. In a certain revision, 94 in my example, several items were deleted. I have been tasked with applying those deletes to the main branch. I'd like to do so through a baseless merge. I tried the following command to do so: tf merge /baseless /recursive /ver...

Team Foundation Server file check-in problem

I'm storing SQL database backup file (*.bak) in the Visual Studio solution and checking it to TFS. However when I update this bacup file locally (backing up new database structure) it's not marked as "changed" in the solution explorer and not uploaded to TFS. How can I solve this problem and force VS to automatically check-in changed fi...

Unit Testing WCF ServiceHost fails within a TFS Integration Build

Hi, I have a problem related to creating an instance of a WCF ServiceHost withing a set of unit tests and a project that is build within an integration build in TFSBuild. The code used in the unit test is: [TestMethod] public void Service_Can_Be_Dynamically_Hosted() { ServiceHost host = new ServiceHost(typeof(DiscoveryService)); ...

Issues with duplicating TFS 2005 to a virtual server

We have a problem with our current TFS installation. For some reason, which I won't get into, the Sharepoint DBs (sts_content, sts_config) got corrupted. So now, none of our team-project sites work, we have no access to our documents and can't create new team projects. We can still work with the version control, though. We wanted to "pl...

Source control products that support linked/shared files?

We're interested in moving from a source control system that supports the concept of shared or linked files. A shared file means: a file modified in one project, is automatically updated changed in every other project that uses that same file. It does this without a developer having to request it, reverse-integrate it, ask for it, or e...

Custom targets are skipped after first run in TFS build

I have a custom target (a group of copy tasks, among others) in my build that I need to call a couple of times to effect change in different places. However, this only runs the first time it is called, after which TFS build skips the said target. The process goes as follows: <!-- Copy some files to another location --> <CallTarget Targ...

Set a default iteration path for a work item type on TFS

Hi, I try to tune my Team Foundation 2005 work items. We have 5 iterations paths in the "Bug" work item type. I would like it to default to a specific value, for example Iterations.Iteration2 I tried to add a DEFAULT rule in the work item type editor but couldn't set the iteration path. How can I do that? ...

Team Foundation Server in Windows VIsta

Will Team Foundation Server work in Windows Vista. ...

Can you create a Runtime Query in TFS?

Is there any way to create a query in TFS that prompts you for query parameters at runtime? E.G. A query named "[TeamMember] Undone Tasks" where TFS prompts you for the team memeber at runtime? ...

TFS Branch Permissions

We have the following code structure: $ |-Core | |- Project1 | |-CoreFile.cs | |- Project2 | |- ... | |-NewProject |- Project1 | |-CoreFile.cs | |-NewFile.cs |- Project2 |- ... We have branched core into Project as a starting point and are adding files into NewProject solution's projects. What we...

It is possible to have different web.config files for a Team Foundation Server project?

Hi folks, I've got a simple ASP.NET MVC website. It has Debug, Testing and Release configuration modes. We're using TFS as our source control and bug tracking, etc. Nice. Now, we're about to embark on using Team Builds to automate some Continuous Intergration. The thing is, we're not sure how to make it so that if we want to make a DE...

Fail TFS Build on Single Unit Test Failure

Setting up CI within Microsoft Team Foundation Server, I have a build that will build the solution and execute all of the unit tests within the solution. Currently the build will show as partially succeded if the build is successful and an of the unit test fail. I would like to show the build as failed when a unit test fails. Can anyo...

TFS: Merging back into main branch

We have a Current branch where the main development happens. For a while I have been working on something kind of experimental in a separate branch. In other words I branched what I needed from the Current branch into an Experimental branch. While working I have regularly merged Current into Experimental so that I have the changes others...

Entity Framework Merge Nightmare

We've adopted the Entity Framework and we're finding that when multiple people make isolated changes in their individual source control branches, there are massive conflicts when they come together in a merge, resulting in broken model files. We're leaning in the direction of forcing exclusive check outs on the file, but I'd like to avo...

Add-in to set TFS options

I would like to write a quick macro or add-in to allow me to quickly toggle the "Show Deleted Items" option in the TFS Solution explorer. I cannot seem to find the proper command to use to set that option programmatically (in the IDE, it is found at Tools | Options | Source Control | Visual Studio Team Foundation Server | Show deleted...

How to create new Change Requests programmatically using TFS SDK/API?

I am in the process of learning about using the TFS SDK to fully control what Team Foundation does programmatically like: Creating new Workitems(is this the same as creating change requests?) Creating new team projects Creating a new Source code branch,etc. I am developing a Windows app that can include all these tasks so it can be ...

TFS baseless merge on specific changesets

As with most things in TFS you get more than you bargained for. In this case I am seeing more file changes during the merge than I was expecting. I have 2 child branches, lets be exciting and call them branch1 and branch2. Both have changes made to them since they were created. I need to take 12 specific changesets from branch2 and me...

What's wrong with my Scrum TFS charts?

The Sprint Burndown Chart says I have about 150 hours outstanding. The Sprint Cumulative Flow Chart suggests that I have about: 100 hrs 'Not Done' 150 hrs 'In Progress' 50 hrs 'Ready For Test' If I sum up the actual SBIs in the sprint I get the following numbers... 100 hrs 'Not Done' 50 hrs 'In Progress' 5 hrs 'Ready For Test' C...

TFS Work Item Query against TFS Groups

Does anybody know how to create a work item query in TFS that will query users against a TFS group? (ie, AssignedTo = [project]\Contributors) ...

Edit other users' alerts for a project in TFS

I am unexpectedly taking over for the previous administrator of our TFS system who left the company rather abruptly. I was made an admin of TFS and on the TFS application server before this happened, but there is still at least one thing I can't figure out. It seems there are some alerts set up under the previous administrator's accoun...