tfs

Spurious dialogs "Project exists, overwrite from source control" when opening solution

Just recently, when I open a solution in VS2010, I get modal dialog boxes in the form "Project c:\XXXX\YYY\ZZZZ.csproj, which you are getting from the source control store, already exists. Would you like to overwrite it with the store version, or leave your local copy?" With the options Overwrite, Overwrite All, Leave and...

Show all changesets between two labels

In TFS2010 each build is associated with a label by the build server. Our SCM management wants to see all the changesets and related workitems between two labels. Mostly those labels are builds that have a build quality "Released". This way all changes between two delivered builds can be reported. How is this done in TFS 2010 ? ...

Is it possible to customize "History" tab for Bug/Task work item types?

It could be good to have a work item view that showed the description of that work item plus each comment associated with the item in chronological order. This view could also include links and attachments (mixed in with the comments, in chronological order). Is it possible to customize "History" tab for Bug/Task work items? How to do t...

Steps for changing process template for an existing project in TFS 2010

Hi I have an TFS server installation that through time has gone through upgrades from TFS 2005 to TFS 2008 and then to TFS 2010. During the lifetime of the installation a lot of projects have been created and different project templates have been used. MSF Agile 4.0, 4.1, 4.2 and 5.0. and a few MSF CMMI ones. What I would like to do is...

How do I programmatically add NewLines to a TFS work item textbox?

I have a web system that has a few hooks into our TFS work item system. One of the things I am trying to do is that when a certain action is performed, it takes the current text in one field and makes a comment in the "General Comments" field announcing what the field was previously (Yes I know, history contains this but the higher ups ...

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...

Exporting bugs out of Jira and into TFS as Work Items

Can anyone point me at a half decent tool/method to do this for me please? I'm currently playing with TestCaseMigratorPlus and manipulating Jira output but it's not really there. ...

Is it possible to query TFS system for any work items that contain an attachment ends with .sql?

For every release we would like to round up all the work items that contain a .sql attachments to run on our staging server. Is there a way to query TFS? Or is this something that has to be done directly to the TFS server database? Any suggestions? We're using Team Foundation Server 2010 RTM. ...

Dock Changeset Details dialog into a tab?

In TFS 2010, is there a way to dock Changeset Details dialog into a tab so that I can browse through changeset quickly like SVN? As of now, I have to click on a changeset to see the details in a dialog and then close it and click on another. ...

How can I tell TFS to give me the entire project how it was at THIS specific changeset?

I'm using Eclipse with the TFS plugin and I used Team -> Get Latest Version and it download some newer additions from my colleague. Now some of his code isn't working and I can no longer build the application to test because of the errors in his code. How can I tell the client to download the Entire application from TFS at THIS SPECIFIC...

Get TFS alerts to use friendly names rather than user names for check-in and other fields

Is there any way to get TFS to display friendly names rather than user names in TFS Alerts (notifications) ? Our company uses ID numbers as usernames, which makes the alerts next to useless until I go into TFS through Visual Studio and dig up the changesets and view the metadata on it. Actually, even then, the history still isn't very u...

How to customise TFS2010 build to print a message in the log

Hi guys, I have recently migrated one of my solution from SVN+CruiseControl to TFS2010. My build definition is using the Defaul Template. And I would like to customise the template. Since I have never worked with workflows before I decided to start by printing a simple message in the build log. For this purpose, I have added a WriteBuil...

TFS Check-in Policty for Unit Tests

Is it possible to enforce that every check-in to TFS has an associated unit test with it? Even if the associated unit test is just a shell? I don't want to allow code to be checked in without the code first having an associated unit test class. I am using TFS 2010 ...

How do I create new field of 'string' type?

My intention is to create a new field. Actually I need few fields: "AdditionalAnswer required" with values "yes" and "no"; "Custom Level" with any text value from the list "1-cool", "2-middle", "3-low". Type for both of them should be 'string'. I've exported work item type, and added the new field. Now the problem is that I don't se...

TFS: how to create a new work item type in currently using project?

I've exported "Bug" work item, changed "< WORKITEMTYPE name="Bug" >" to "< WORKITEMTYPE name="Issue" >" ... imported changes... and nothing... ...

How do I keep folder tree and publish websites in TFS 2010?

I have a visual studio solution that consists of several web applications, windows services and other class libraries. I am in the process of configuring it for continuous integration with TFS 2010. The default build template puts every binary in the drop folder, and creates a _PublishedWebsites folder in which it publishes every web ap...

Automating builds with MSBUILD/TFS 2010/MSBuild.ExtensionPack

I need to create a build that is schedule from TFS 2010 and does the following: Get latest source Compile the project Check AssemblyInfo.cs files out and increment the version using Msbuild.ExtensionPack Check the files back in Deploy the Database project against a target database Run unit tests I am thinking of putting all these st...

TFS: how to add 'text name' for priority

Is there any possibility to add text into priorities? It would be good to have values like "1 - Blocker", "2 - Critical", "3 - High", ... etc. Attempt to change "ALLOWEDVALUES" of "Priority" field (refname="Microsoft.VSTS.Common.Priority") to something like <ALLOWEDVALUES> <LISTITEM value="1 - Blocker" /> <LISTITE...

Microsoft Test Manager 2010 Error: The required category 'Microsoft.TestCaseCategory' does not exist in team project

When I'm attempting to open any of our projects in TFS 2010 with Microsoft Test Manager 2010, I get the error: The required category 'Microsoft.TestCaseCategory' does not exist for project XXXXXXX. What is the reason for this error, and what steps can I take to resolve it? Also, is stackoverflow the right forum for this question? I fee...

how can i create a team project in TFS 2010?

i want to learn step by step in build a team project in tfs 2010 ...