tfs2008

TFS - Workspace deleted with pending edits

I had edits on my local machine which had it's own workspace. The machine then crashed. Luckily I was able to recover the edits from the harddrive and place them on my new machine. The TFS admin deleted my old workspace while there were still pending edits associated with it. How can I remove the edits from that deleted workspace? ...

How do I create a branch from a specific changeset if the folder hierarchy has changed?

Hello, I was recently tasked with creating a branching plan for our project, and part of that involved creating a few feature branches and release branches. I also had to clean up the source control tree so that the branches could be self contained. I basically started with this: / ./src ./model ./processtemplates ./data ./o...

Branch from local workspace

I was developing team project and suddenly realised that i've made so many changes, that i need create branch. I've never used branching in TFS and when i saw "Branch\ "From Workspace version" i thought that's, what i need. But this option doesn't act as i supposed. How can i create new branch, from my "LOCAL COPY of Project" and incl...

Build order and dependencies not preserved on upgrade from VS 2008 to 2010 with msbuild

I'm in the process of upgrading our VS 2008 solution to run on VS 2010 I managed to successfully build in VS 2010 My next step now is to configure a build machine running TFS 2008 Whenever I start a build it does my projects in alphabetical order with no regard for dependencies. I've googled a lot and I can't seem to find a solution t...

Reconfigure TFS2008 + VS2010 after renaming Computer

Hi All, I had to rename a computer which was running TFS2008 with SQL2008 r2 on the same server.. Manage to get to connect SQL2008 R2 running with new name.. How can I re-configure the TFS to point to newly named ( NewServer\MyNamedSqlInstance) ?. ...

Skip unit tests that take a long time

Hi, I'm working with MS-Test for my unit tests writing. most of my tests have a duration of less than 0.1 seconds. I want to somehow tell VS "ignore the tests that take a long time to run when i'm running the tests manually, and when you run them on the build do not ignore them. I know that in nunit there is an "explicit" attribute tha...

Windows file to TFS - How do I do it?

We're a small shop and have legacy VB6, Classic .ASP, .NET 1.2 - 3.51. We installed the product successfully, but since depending on the code which needs changing we fire up the respective IDE Visual Studio x. How do we go from no source control to TFS? ...

Skip dropping build files in TFS Team Build.

I'd like to set up a TFS 2008 build in a way that it runs on every check-in and also nightly. The thing is that I'd like to keep the output from the build only for the nightly builds (with the check-in builds only acting as verification). What is the best/suggested way of skipping the CoreDropBuild step conditionally? ...

Setting properties in triggered build.

When queuing a new build using VS it is possible to pass in arguments to MSBuild which let's you do thing like skipping some steps of the build or do some things conditionally. Is it possible to pass in such arguments to a build that's triggered by a checkin or a nightly build? ...

Trigger build when another finished succesfully in TFS 2008

This is a feature I'm used to from TeamCity - I could specify that a certain build configuration will be triggered by the success of another build configuration. I could even pass the results of one build to another - but perhaps this is asking too much. I'm looking for a similar functionality in TFS2008, is there a way to set a trigge...

TFS - Merge after Directory Rename or Add

We created Main with two subdirectories, BizTalk and WebServices. Then we branched Main to Dev. Our webservice developer (long gone) either renamed WebServies to WCFServices or deleted WebServices and added WCFServies. Now, when I attempted to Merge WCFServices, there is no item to pick on the drop down for the "Target Branch". Ho...

TFS - Moving to a new server. How to update solutions with new server info?

TFS was setup on a VM and we have 6 devs that are using it. We've been going for over a year. We have to move the VM to a new data center and the IP address is going to change. We all referenced the TFS server by it's IP instead of HOST or DNS (yes, i know!) Everything is hardcoded as the IP address. How do we update the local config to...

Return newly created TFS work item ID using TFS API?

Hello, Using the TFS API, I am able to create a TFS item, no problem. What would be the best way for me to know what the Item ID is for the newly created Item? Thank you, George try { // Authenticate User Account NetworkCredential account = new NetworkCredential(USERNAME, PASSWORD, DOMAIN); ...

Automate TFS logon from Visual Studio

My main domain account does not have local admin privileges and I start Visual Studio using RunAs and another account that has local admin privileges. Our Team Foundation Server (2008) is configures to recognise the main domain accounts not the local admin accounts. This means I have to log into TFS after starting VS with the admin ac...

Will deleting a project in TFS remove the files, or will the history be preserved?

The reason I'm asking is that I want to test something, that I expect will generate a number of commits, totalling a lot of data, and since it's only a test, I don't want to leave them permanently in the database. Do I have to set up a temporary TFS server for this, or can I just delete the project afterwards and expects its disk space ...

Is it possible to change the length of a string Work Item field in TFS 2010?

Hi all, I'm trying to add 3 fields to some Work Item templates in my TFS 2010 project so we can do simple release notes documents generated via reporting services. Using the Process Editor (in TFS Power Tools Sep 2010) I have added 3 fields, all String types - "Version", "Title" and "Description". Each has had the Reportable attribute ...

Creating a project in TFS fails

I'm attempting to create a new project in TFS 2008. The process errors out with the following message: The content databases in this cluster are full. You cannot add more Web sites until you change the content database Web site capacity settings or add more content databases. I want a new content DB created for each TFS project, ...

Is there a way to "fix" a changeset in TFS 2005 or 2008

If I leave out a file when checking in, or accidentally include a file I don't want in a check in, is there a way to modify the changeset that was created? ...