tfs

TFS does not build projects correctly

HI I am trying to build my solution using TFS but it seems to skips the projects which have dependencies. e.g Proj B depends on Proj A , then it builds only Proj A and not Proj B. Also if i try to build the projects individually instead of the solution then it does not create the release folder. It says that the output path is not foun...

Is it possible to setup a shared folder for DLLs with relative pathing in Visual Studio 2008?

I am using Team Foundation as source control for a solution with eight C# projects. In order to enforce decoupling and stability, I have only enabled dependencies between the project and their tests. What I would like to do is create a common folder where the compiled libraries and external tools can be placed and shared across the sol...

Why are merges back from feature branches in TFS such a pain?

We have a HEAD branch, and a feature branch that was created off the HEAD branch. I develop on the feature branch, and constantly merge changes from HEAD to my branch. When I'm finished with the feature, I try to merge it back to HEAD. This is supposed to be a 0-pain operation, as all conflicts were already resolved on previous merges t...

Can't login to TFS using TeamExplorer while it works using directly the webservice from IE

I've installed TFS 2008 sp1, full edition, on a windows 2008 server. I can connect locally using either team explorer or IE From a remote computer : The TFS webservice works fine if I provide the good credentials on the following address : http://192.168.1.239:8080/services/v1.0/ServerStatus.asmx?op=CheckAuthentication However, Team...

TFS shows some pending changes under my name, but I have not changed anything

TFS shows some pending changes under my name, but I have not changed anything. When I check in and see View Pending changes, I see some of the changes which I have never made, changes pending under some other user might be shown as my pending changes. When I unselect and check-in my changes, these are still locked under my name? Is this ...

How do I notify TFS of build stats?

I am told TFS can accept data on build/test metrics from 3rd party continuous integration tools. Does anyone know how this works or have any good links for me? My google-fu seems weak today and I cannot find any info on this. We would like to have a short powershell script or app run at the end of the build and send all known metrics up ...

How to branch an ASP.NET Web Service solution

We have a VS 2003 solution that consists of several ASP.NET web service project (and, no, we aren't in a position to upgrade to VS 2005/2008). Currently, the local paths for the web service projects all point to WWWRoot. I figured this will be a problem w.r.t. branching and I’m wondering if there’s any way to configure things so that...

My Work Items gone in TFS

We use VS2008 with TFS for source control at my workplace and it works fine, however today we experienced a problem when trying to associate our pending changes with a work item. Usually when I want to associate changes with a work item I just go to the second tab from the top in the "pending changes" window, check the work item that fi...

Identify 'Current' open workspace through TFS API?

Is there a way to programatically determine the current workspace of the open sln/proj in visual studio using the TFS API? I've seen how the VersionControlServer can retreive all of the known workspaces, but is there anything I can use to tie that to what the user currently has (or doesn't have) open? ...

Does Visual studio Team Foundation Server really need to be on it's own machine?

So we decided to go with visual studio team foundation server for version control, etc. Getting ready to deploy today and read in installation guide: "You cannot install Team Foundation Server on a domain controller or a computer that is running other server products such as Exchange Server or Host Integration Server." That and other ...

Source Control Explorer Shows Pending Changes, But In Pending Changes Window does not show

Hi, In TFS Source Control Explorer it shows pending changes(edit,[more]) with my name, But In Pending Chages window does not showing any pending changes. What I thought is, Months ago my Visual Studio was crashe(at that time some files are checked out, which i was not aware of that , due to automatic checkout nature of TFS), due...

Notification on workspace.Get() completion

For a Microsoft.TeamFoundation.VersionControl.Client.Workspace object, when calling the Get() method, is there a way to know when the operation is complete? I see there is a callback param in the Get() method, but it seems like this is fired once the files have been identified, but not before they're actually 'got'. More of a way to inte...

SQL Distinct by ID and Latest By Date

I have the following SQL Statement. I need to select the latest record for each System.Id using the System.RevisedDate SELECT [System.Id],[System.RevisedDate], [System.Title], [System.State], [System.Reason], [System.CreatedDate], [System.WorkItemType], [System.TeamProject], [Microsoft.VSTS.Scheduling.Remainin...

Visual Studio 2005 - Projects disappearing

Hmmm, a new odd issue that has just started. Every now and then VS drops a whole bunch of projects from the solution. It will say at the top of Solution explorer "42 projects" when it is displaying only about 20 or so. Closing VS and re-opening it fixes this, although it is a bit of a pain as it takes a little while for the .sln to open ...

TFS - error when trying to add "Windows user or group" to licensed users - adding group

I have: Microsoft Visual Studio 2008 Team Explorer Version 9.0.21022.8 When I go to Team->Team Foundation Server Settings->Group Memberships; Double-click on 'Team Foundation Server Licensed Users'; Select "Windows User or Group" in the 'Add Member'; In the "Select Users, Computers or Groups" type in the group name, then 'Check Names'...

Explain System.Diagnostics.CodeAnalysis.SuppressMessage

Hello I have this kind of code in some applications (from microsoft) [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "CounterClockwise", Scope = "member", Target = "ScePhotoViewer.PhotoDisplayControl.#RotatePhotoCounterClockwiseComma...

Good resources to learn about MSBuild and Continuous integration with TFS

I am relatively new to MSBuild and am looking out for good resources to learn more about MSBuild and CI with TFS. Specifically I am looking out for the following specific tasks Take latest from TFS whenever a checkin happens Build the solution Run the code analysis Run Unit test cases On success deploy the project to the drop locatio...

Nightly syncing of TFS to SVN

Our development department is going to be using Team Foundation Server for our projects, but we're required to sync up with the company standard SVN server on a nightly basis. Is there any good method to sync them up (TFS to SVN), like a nightly scheduled task that runs an SVN add, remove and commit? ...

Import from Team Foundation Server 2005 into 2008

We have an existing TFS 2005 install and a newer 2008. The 2008 server already has some newer projects on it but I am looking to move the older projects from 2005 onto this newer server. Does anyone know an easy way to do this and maintain the audit history rather than just break source control on the project and then add it to the 2008...

Restoring Team Foundation Server

Hi Guys, We are thinking of moving from Subversion to Team Foundation Server for our source control requirements. The reasoning behind this being that our project teams are getting bigger and management feel more comfortable using a M'soft product rather than an open sourced solution (I know - I've tried to argue the foolishness of thi...