tfs

How to change default program (notepad) which opens a selected file when viewing a TFS changeset in Visual Studio 2010?

I open the History in the Source Control, then open a changeset, then select a file in the file list and double click to open it. TFS open the file by Notepad, I wanna open the file by Visual Studio or by any other text editor (to have syntax highlight). How can I do this? ps. In my machine, when I open a .config file like app.config, T...

TFS debug mode and "add progress"

Hi all Every time I hit F5 (to work under debug mode), my visual studio send all my new files to my Team Fundation Server with a lot of "add progress..." windows . Do you have any idea why ? I mean debug mode has nothing to do with team system ! Thanks ...

Team Build sends error when trying to compile a Structuremap method

Hi, I'm getting a strange error when trying to compile a solution that is using StructureMap on Team Build. When I try to compile the solution locally on Visual Studio it works fine, but when trying to queue a new build in Team Build I get the following error: Overload resolution failed because no accessible 'Use' can be called wit...

Deleting Team Project in TFS after moving Source Control items

I have a situation where I have created a new team project and imported source code (with history) into TFS from VSS. The problem is that the team project name is wrong. I am planning on creating the new (correct) team project and moving source code from $WrongTeamProjectName to $CorrectTeamProjectName. Will it be safe for me to delete...

How to view process template that is being used by TFS project?

I am using TFS 2010. There are bunch of projects under DefaultCollection. I want to view the process template that was used to create individual projects. I have admin rights on the TFS server box. How to view which project is using which process template? Thanks ...

Merging discontinous changesets in TFS 2008 Version Control

I have moved from subversion to tfs for version control, and it is my understanding that you cannot merge discontinuous change-sets in tfs. For example, say I have a file baseline.txt that looks like this: line one Then, I branch the file to a new file called branch.txt, and then do two check-ins on baseline.txt so that it finally l...

Ignore Resharper files in Team Foundation Server source control

How can I use Resharper without adding the Resharper generated files to the TFS server. Is there some sort of .ignore file/setting I can let the TFS maintainer modify. Or is it done client-side? We're using TFS 2008, but will be upgrading to TFS 2010 in the near future. ...

Excluding Nested Items from Source Control

I'm using T4 templating to generate some .config files in a project I'm working on. I've set up a pre-build task to look for all .tt files in the solution directory, and then execute the TextTransform command-line tool, so that the code is freshly generated on each build. However, I'm now having "Access Denied" errors because (for exam...

How can I change the date format for TFS work item query results in Visual Studio 2010

Using VS2010 with TFS and all the date columns in the query results are in US format (ie m/d/yyyy). Can I change this to the en-AU (Australian) format of d/m/yyyy? Or even the more useful yyyy-mm-dd? Is there a setting for this or is this format hard-coded into the software. My OS datetime format settings are set for standard Australi...

Is it possible to rename files in Explorer and check-in them all into TFS simultaneously?

I need to rename large amount of files in different folders. The main problem is that TFS server is located across the ocean (i.e. very far away and working with it is slow), so renaming each file turn by turn is very slow. How can I automate renaming? If I were using TortoiseSVN I could rename all this files in Windows Explorer and co...

Team Foundation Server 2010

Hi, We have around 20 developers and want to implement continuous integration using Team foundation server 2010. Currently we use VS2005 which we will upgrade to VS 2010 Premium Version We will buy 1 Team Foundation Server license. Then, can we use TFS 2010 to auto build and CI purpose? Or We should use CC.Net And nAnt? Can anyone ...

TFS workspace naming guidance, where ?

Is there any guidance about workspace naming and workspace mapping in TFS (2010) ? ...

TFS 2010 Custom Build Activity TF215097 error

I am working on developing a system that employs custom build activities using TFS 2010. Sometimes when I create a new XAML template in visual studio and run my build definition I get an error that says... TF215097: An error occurred while initializing a build for build definition ...... Cannot create unknown type '{clr-namespace:Aut...

Query for Work Items that contain attachments of a specific type

In our releases sometimes it is necessary to run scripts on our production db. The standard has been to attach a .sql file to the work item if a script needs to be run on the db. Is there any way I can query for Work Items which contain an attachment that is a .sql file? I'd prefer not to have to open each Work Item to check for these ...

TFS: checkout from one server, checkin to another

I've got a need to checkout an entire source tree out of one server and check it into another server. I'm attempting to script this into a final builder script, but am running into some snags. I'm able to check everything out, but when I attempt to check it into the new server it tells me there are no pending changes. Obviously I'm mi...

TFS support (plugin, external tool, etc) from within MonoDevelop?

Is there an easy way to integrate TFS for version control into MonoDevelop? I have a new MacBook Pro and an trying to determine which things I can do with Mac native apps and which I will need to run using Parallels. I downloaded the Microsoft Visual Studio Team Explorer Everywhere 2010 command-line client, and was able to create a wor...

Web Application + Silverlight project in TFS, .xap file keeps being checked in, can I avoid it?

When I look at my ASP.NET application that hosts a Silverlight project, it has a Clientbin folder, inside of which there is a .xap file, the one being compiled from my Silverlight project. This file keeps being checked into TFS. Is there a way for me to tell TFS to just plan ignore it? The reason is that once the file is checked in, if...

Group project via Team Foundation 2010

We will be doing a database driven logistics system for our Software Analysis and Design course. What we want to do is to work on the project simultaneously so that we can finish the project earlier. Is TFS the right tool for this? If yes, how do we start? What are the steps to set up the TFS? We use VS 2010. Thanks. ...

tf.exe Unable to detrmine the workspace

Hi all, I am trying to call TF get command via Tem Build script. I am getting the following error Unable to determine the workspace. Folks over the internet tell that this error is because Team Build cannot find the workspace because it is being called from a directory which is not part of the workspace. The solution presented is ...

How to access VS 2010 TFS over the internet from remote office

We have a team member in a different country, and are trying to figure out the most viable option to provide them with access to our Team Foundation Server for Visual Studio 2010. ...