tfs

TFS - Restore deleted links

Not sure if this goes here or in Server Fault, but here it is: I accidentally deleted a bunch of links to some TFS WorkItems. I need to get them back. The history does not help (Just says that the thing that changed was the revision number). Is there a way to see what WorkItems were linked prior to me deleting them? I am using TFS 2...

tfs copy projects on same server

i have 1 tfs server with 2 different team projects - Project 1 and project 2. Project 2 is completely empty. i want to copy some asp .net project 1 folders into project 2. How do i do that? ...

Calling custom C# code from SSRS 2008 report

Hi I want to call a function written in C# from within ssrs 2008 report. Following is a close representation of the actual C# function to be called public void GetAttachment(string serverName) { TeamFoundationServer tfsServer = new TeamFoundationServer(serverName); tfsServer.Authenticate(); WorkItemStore workItemStore = new Wo...

TFS - Specifying my own Editor when viewing a file

In TFS, I know I can specify my own tool for doing merges and compares. Can I also specify my own tool for viewing files? For example, when I am looking at Shelveset Details and click on a file and choose View, I'd like my own tool to display the file and not the default Notepad. Randy ...

The project file has been moved renamed or not on your computer

I get this error when i try to load a VS 2008 project from TFS (Source control) The project file has been moved renamed or not on your computer After i click OK the project says "unavailable". What is the problem? how do i resolve this? i never had this problem before. Some blogs said to delete the .suo file. But i cant locate the .suo...

Code Access Security / Permission issue with executing custom assembly from SSRS 2008 report

Hi I have created a dll consisting of a class and a static function to fetch attachments from TFS database. Below is the static function public static List<string> GetAttachments(int workItemId) { string tfsReportServerUrl = "http://&lt;&lt;ServerName&gt;&gt;:8080/"; List<String> files = new List<strin...

TFS: Is this possible?

We have 3 environments: dev, test, and staging. I want to check in and out of TFS. When we make changes, I want to promote the code to the dev web server. Next I want to promote the changes to test, then to staging. Would it be possible to do this with Team Foundation Server? ...

After making changes in one TFS branch, how do I update other branches?

i have a branch in TFS from my main team project. The changes that have been done on the branch, I want those files to be updated in my main Team project. How do i do that? ...

Bug/issue tracking integration with Cruise control

Hi everybody, I am putting together a bunch of applications to create an automatic building for microsoft platform (the products I chose and the software I will build, both, runs on windows). The products I've chosen are: Code repository: SubVersion Continuous integration: CruiseControl Unit testing: NUnit Test coverage: NCover Static...

Are there any products that create a SourceSafe to TFS bridge? (SourceSafe facade)

We have a ton of code written in Dexterity, whose only Source Control integration option is SourceSafe. Are there any products out there that could act as a bridge so that Dexterity would believe it was talking to a SourceSafe server, but all the commands were actually translated to TFS (2010) actions? ...

TFS Authentication from another Domain

Hello, I need to have access to TFS from another domain. The problem is the following: TFS --> domain A (main company domain) Visual Studio --> domain B (development domain) Domain A does not allow a trust between the 2. Another solution would be to configure external authentication on TFS but it seems to require SSL an I don't...

How can I obtain a list of modified files within a 'changeset' range from team foundation server through a windows form application?

I'm trying to create a tool which will help my team perform code reviews on a more regular basis without it's usual massive overhead. At the moment the manual process involves using Team Foundation Sidekicks to identify the Changesets and then exporting that to excel to filter the results to find which items need to be reviewed (e.g. co...

Query TFS database to fetch last 10 check-in details

Is there a way to query TFS database to get the last 10 check-in details The output should be something like File name | Comment | Changed By | Date ---------------------------------------------------------------------------- Test.cs Added new functionality username 01/08/2010 I ...

Branch selectively in TFS

We are allowing external consultants to work on a portion of our source. We created a new TFS project and granted them rights to that. Branching does work between TFS projects, so we can branch the "real" TFS project they're working on to the consultant project. However, we only want to expose portions of it. Here's what we want (simplif...

TFS 2008 Merge: Merge bunch of change sets, resolve, check-in, repeat and see more changes?

We have a situation like this: Merge Branch Blah back to trunk. Resolve all the conflicts. Check everything in. Without an intervening Get, we try and merge again. Everything should be clean, but it's not. More conflicts are found. Why? Tree looks like this: A -> Branches -> X -> Blah A -> X ...

Any concerns about branching/merging projects with Entity Framework

I'm about to branch a project that uses EF. I know that there will be a modicum of changes in the trunk, as well as many changes in the branch. I will need to merge in changes from the trunk into the branch from time to time. I'm not concerned about the straight up C# code that usese EF objects (Linq to Entities) I'm concerned about t...

What is the meaning of Build Agent in Team Foundation Server?

Hi all, What is the meaning of Build Agent in the Architectural of Team System Team Build? I want to understand it to configuration the TFS for our company ...

Is it possible to dynamically change the workspace paths in a Team Build definition?

We have a dev branch and a main branch--obviously both have the same relative paths. Is it possible to use one build definition across both branches and dynamically change the path in the build definition file? ...

CruiseControl.NET and TFS Labeller

Hi Guys, I'm facing a very simple issue but I can't find the right tool: We (in our team) currently build our Web App (.NET 3.5SP1 Based) with CC.NET, getting source code from SubVersion. We're moving to TFS2005 (already used by other teams) but I can't find the equivalent of the SvnVersionLabeller; the specific labeller gets the latest...

sourcecontrol - pulling in only specific revisions

I am familiar with SVN and TFS for source control. One issue which I usually encounter is the same file is modified for different bugs (say bugP is fixed with revision/changeset (N), bugQ is fixed with revision(N+1) and bugR is fixed in revision/changeset(N+2) Each revision/changeset work on different part of the same file and there is ...