tfs

Visual Studio 2008 TFS Shelve/Unshelve changes stopped working and hangs VS

Greetings. This is second time I've actually spotted this problem with VS 2008 TS with TFS addon installed on top. The problem is that at some point, when you actively work with Shelve/Unshelve changes from TFS, the Shelve changes window (when you hit "Shelve" button) hangs and hangs whole VS. After that, if you restart studio, the Sh...

TFS email diff on commit

Hi All, Anyone know of a way to send diff emails when a commit is made to TFS 2010? Essentially, the email should show all files modified, along with all lines added/edited/deleted (as well as a few "context lines" i.e. unchanged lines above and below the modified areas) Thanks! ...

How to bind a target within MSBuild to a general error.

We are using TFS build and we have a couple of custom steps within the configuration (e.g. running NUnit tests in AfterCompile target, deployment steps in AfterDropBuild target etc.). Now I wanted to add the functionality of sending emails on broken builds. I have configured a mail task from MS Community tasks and put it to the BeforeOnB...

How do I create a new project in TFS from an existing project (breaking history)?

My team is taking over a project from a previous team. We use a different TFS server than the original team, and we are also not interested in keeping the history of the project because we are accepting the latest version of the code as the beginning of our history with the project. Branching is not an option since we want to start our...

Getting automated code coverage to work in MSBUILD

I've got a build agent running builds for TFS and I want to enable code coverage. My build file looks like this <PropertyGroup> <RunTest>true</RunTest> <RunConfigFile>$(SolutionRoot)\CITestRun.testrunconfig</RunConfigFile> <RunCodeAnalysis>Default</RunCodeAnalysis> <TreatTestFailureAsBuildFailure>true</TreatTestFailure...

Safely delete a TFS branch project

I'm currently reorganising our TFS source control for a very large set of solutions, and I've done this successfully so far. I have a problem at the moment where I need to delete a legacy "Release Branch" TFS project that was branched for the old structure, and is no-longer required since I now host a release branch within the new struc...

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

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 - http://stackoverflow.com/questions/2219282/view-a-list-of-all-files-changed-as-part-of-a-workitem-in-tfs but it went unanswered and I've been, off and o...

SSRS Project does not represent a file

Today I noticed some weird behavior. We use TFS for our source control and I have recently checked-in a solution that has rptproj files (along with .rdl/.rds/etc.). I have had no problem for the past week checking in and out until today. I get an error when I try to open the .sln stating that "The project item '4294967294' does not r...

How can I get notifications from my TFS server, when a work item is changed?

I am writing a simple custom work item browser and I'd like it to follow the real-time changes happening to work items on my TFS server. For example, if someone has changed a work item's Title or State, I'd update my work item tree with this new information. How can I subscribe to such events? ...

Two approaches to Version Control (TFS): Need advice.

Hi. We are reaching a point in our project where we need to make a production deployment but also need to have ongoing development for future features. Our source control currently has a single development branch. In my previous company a 3 branch system was set up with Development, Integration, Production. Feature development was done ...

Can't to connect Visual Studio 2008 to TFS 2010

I am trying to connect to my TFS 2010 RC server. When I try to connect I get a error message. Here is a screen shot: This is the path I am using to connect: http://tfs2010test:8080/tfs/DefaultCollection I have Team Explorer 2008 SP 1 installed. I have read this question: http://stackoverflow.com/questions/1925512/visual-studio-200...

Looking for Recommendations on Version Control System with Intuitive (.NET) API?

I'm working on a project which generates (composite) Microsoft Word documents which are comprised of one or more child documents. There are tens of thousands of permutations of the composite documents. Far too many for users to easily manage. Users will need to view/edit the child documents through the app which hides all of the nasty...

Team Foundation - how to get files that are only part of a solution

We use TFS as our source control repository. As a result we have files that are stored in the tree but are NOT part of the main solution. During the build process I use the following command: tf get $/mysolutionPath /recursive /all /noprompt This returns all files even those that are not part of the solution or its projects. I w...

Migrating test cases & defects from Quality Center to TFS 2008/2010

Tool that can be used to migrate (or even better..synchronize) test cases and bugs between: TFS 2008 and Quality Center 9.2 (or later) TFS 2010 and Quality Center 9.2 (or later) I am aware of the following tools: Test Case Migrator (Excel/MHT) Tool TFS Bug Item Synchronizer 2.2 for Quality Center Also shai raiten mentions on his bl...

TFS - Get a changeset range

Every release I find it a good practice to go back and grab all the changeset notes to compare to the release notes to make sure we didn't miss anything. Since we have a blurb of all feature changes pretty well documented in the changeset notes, they're a valuable resource. What I haven't found is a good way to extract these from TFS 2...

How to view code difference by changeset in TFS through a web-based interface?

Is there a way to look at code differential between previous and current versions of a changeset in TFS 2005/08 through a web-based interface? I am aware of Changeset.aspx with a artifactMoniker parameter that retrieves the changeset and related files. But I would also like to view the code delta in a web based manner. ...

TFS 2008: Questions about auto Builds, Labels and general versioning

Hi all, a bit of background first... I am setting up a versioning numbering system for our project which currently only has a development branch, but we are now moving towards our first deployment. We are using TFS and we use nightly builds on our dev branch. The way we are probably going to go with this is that when we get ready for ...

Team Explorer work item UI is too wide

Is there any way to get the work item query results preview pane to auto-size its width? It is very often "too wide", with the controls being way too wide for their content. Here's an example--why do I have to have horizontal scrolling? Is there any way to fix this? (When one opens a single work item, the width is streched appropri...

Team Foundation Server- How to effectively set up source code layout with dependencies.

I am currently trying to set up a new visual studio 2008 solution while using TFS. Current structure is as follows ProjectName - src * SomeSolution.sln * ProjectFolder1 * ProjectFolder2 - Third Party Tools In subversion I would just go to the root directory and do svn update. Or with Git, git pull origin from the root d...

Unable to add Solution to TFS 2010 due to existing (invisible)binding

I have a smallish utility library I made that I had created in TFS Beta 2 to test out TFS. I now have TFS rc1 installed(and Beta 2 uninstalled) and am trying to add my Solution to TFS. I get an error saying that it is already bound to my old TFS, which was on a different system then this one. Strangely, when I go into Source Control ...