tfs

Can TFS 2010 be used to store and version non-code files?

We are using internally TFS 2010 as source control repository for our .NET Projects. Some colleagues from other departments are asking us if we can provide them a system to version their files (binary or other files) not "source code" related and I was thinking if is possible to use and configure TFS 2010 to help them. Keep in mind the...

Team Foundation Server : how to get multiple item using wildcards

We are using Team Foundation (2008) as our source control. I'm wondering if there is any way to recursively get multiple files using wildcards? For instance : *.txt *.rc *.h *.cs etc. Thanks a lot, Nic ...

How to prevent Visual Studio from adding generated files to source control

Here's my specific scenario: Using VS2010, Pex and TFS2008, generated moles files are getting automatically added to source-control (TFS). Pex adds a "project_name.moles" file to your test project and then autogenerates 3 files at build time: project_name.Designer.cs, project_name.Moles.dll, and project_name.Moles.xml. I want to keep th...

referencing a source controlled project (using TFS) in another source controlled project.

i have three VS solutions : Human-resource Solution Payroll Solution And a Main web site (Shell); Human-resource is a solution which is also a team project. Payroll is the same, and so do the Main web Site(Shell). what i need is to reference the (Shell) in Human-resource solution and also in Payroll. is that possible in TFS...

How do I get code-churn statistics by user?

Microsoft Line of Code Counter is a tool for statistics code line in TFS, can count code changes between different version, different date, BUT can't count code for different users? Is there possible to count code by user(who checked in code) and version? ...

Run xUnit tests from TFS2010

I'm trying to work out how to run xUnit tests from TFS 2010. I found some articles on how to achieve that with the older version (http://jonnekats.wordpress.com/2009/05/07/integrate-xunit-tests-into-your-daily-team-build/, http://weblogs.asp.net/mehfuzh/archive/2009/08/25/configuring-team-build-using-xunit.aspx). These approaches don't ...

How to make build definition in TFS Build 2010 configurable w.r.t input variable values and "items to build"

We are using TFS Build 2010 for Builds. We have two branches of source code (Lets say branchA and branchB). Now as a part of the build definition we set the projects to build: Now to employ the same build definition from branchB will mean that I create another build definition file with same content, with only the items to build set t...

Using MSBuild task for ftp a directory in TFS 2010

Hi all, Is there any tutorial to show how can I use MSBuild tasks like FtpUploadDirectoryContent to copy file/directory to a remote host using FTP in Team Build 2010? I never used a MSBuild task in TFS 2010. ...

Dependency Management/Team Projects in Team Foundation Server 2010

I'm trying to find the best way logically separate projects in TFS 2010. Currently we have three separate projects: A core framework project which is run on a server A console application that references the core framework dll. A web application that also references the core framework dll. TFS partitions projects into Team Projects....

Orphan a branch in TFS

Suppose I create an experimental branch in TFS. Now, I am finished with the branch, and I want to keep it around, but it has diverged sufficiently from the source branch that I want to make sure that no one can merge it back on accident. Is there a command in TFS to sever a branch, so that there is no merge path back? ...

In TFS 2010 is there any equivalent to reporter (or a way to change the "Created By" field)

When adding a work item to TFS 2010 via the SDK, the incidents are created using the same identity that was used to authenticate to the TFS server. In other applications providing defect tracker/work item support the API normally allows you to set a Reporter/ReportedBy/CreatedBy field, so you can make it appear as if the user your servi...

TFS hangs at "Performing add on [foo]" dialog when checking in new files

I have 16 files that were added to our Team Foundation Server Source Control repo as part of a larger add/checkin that remain un-check-inable. Nothing special about the files--text files, xml files, xls files, no funky names, and the Visual Studio 2010 Team Explorer check in hangs when either a single one or all are attempted to be che...

Configuring TFS2010 so users can create/update bugs but modify nothing else

Environment: I am administrator of a project in TFS 2010, but don't have any administrative rights for the project collection. Is there an easy way that I can set up access rights for a group of users so that they can: Create/update "Bug" work items only View all other work items Execute work item "Team Queries" and create their own q...

Algorithms of TFS 2008

Are there articles or books that describe the exact workings of TFS 2008? For example, what algorithm does it use to calculate changesets and what kind of information they contain? How does it apply changesets to the code, especially if they are not sequential? What is the algorithm for auto-merge feature? ...

Disabling Team Foundation Server extensions in VS2010

We're using Visual Studio 2010 (Premium edition if it matters), and pretty happy with it. However, We're never going to use the TFS features that's included in the IDE. (We're using Jira and Subversion, as it's not just Visual Studio that we work with, but also IntelliJ and a couple other IDE's.) Is there any way to disable the TFS p...

How does paging of TFS work item queries work, and are there any limitations?

I can execute a query via the TFS 2010 API like say: string wiql = @"SELECT [System.ID], [System.Title] FROM workitems order by [System.ID] asc"; WorkItemCollection items = project.Store.Query(wiql); foreach (WorkItem item in items) { ///... do stuff } To return all the work items - but it appears there is no way to control...

Code Review tools that integrates with Visual Studio 2008 and/or TFS 2008?

I'd like to know what kind of options we have regarding tools for performing code reviews. We're a group of 15 people that uses Visual Studio 2008, writing code in C# 3.0 for .NET 3.5 (at least for the time being), and using TFS 2008 for source control. I've looked at TeamReview on CodePlex, but it seems the only way I can create revie...

How do I allow a remote user to access my local TFS server?

I'm new to Microsoft TFS and it seems like the default of TFS is connect via a Local Area Network (LAN). Another team member lives in a different part of the world. How can I allow him to connect to my TFS Server, which is installed on a Vista Machine so we can share the same project? ...

TFS access denied to only one specific domain user

I created a local group user which I added to TFS Contributor/Valid User groups. Anytime if I needed to add a user as contributor, I would add him/her to the local group and the person has the access to TFS; which is until now. Recently a new person got hired and MIS setup the domain account for him. I added him the same way but for some...

Will TFS performance be degraded by having too many user workspaces?

Will TFS performance be degraded by having too many user workspaces? Our IT group observed that development has many workspaces leftover from users who have moved on, and would like development to clean them up. We currently have about 30 active users in TFS. There are probably 10 inactive users with workspaces. I didn't think worksp...