tfs2010

Need some help with TFS2010 + an automated Build + 'Configurations to Build = Debug'

Hi folks, really. weird. shiz. When I do a TFS Team Build (with Remote Deploy), some #if DEBUG preprocessor directives code I have on a web page does not get called. When i manually one-click deploy (remote deploy) the preprocessor directive code works. When I debug locally, the code also works. So - problem looks to be related to my ...

TFS 2010: how to add a new user?

I just installed TFS Server 2010 on Windows 7 Ultimate. I even managed to connect to TFS server using Visual Studio 2010 - I didn't have to enter any login and password, as Windows Authentication was automatically used. Now I need to add a new user to TFS, with a specific login and password, so that a member of the project could access...

TFS2010 gated checkins compiling against wrong changeset

I'm fairly new to TFS (let alone 2010) and have been playing around with getting a TFS server up and running with automated builds. So far this has gone fairly well, I've got a gated check-in build definition and it all appeared to be working correctly...until I tried out using the symbol/source server, for some reason the MD5 of the so...

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

What are the drawbacks to merging the Task and Bug Work Items and only use one of them in TFS 2010?

I was thinking that I’d rather only use the Task Work Item and ignore the Bug Work Item. This is my thinking as I set things up for my team. I’m on a quest to see why I shouldn’t do this. From my perspective a Task is either a new item or a bug item. There is no need to use two distinct Work Item Types. To make this happen in TFS I’...

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 - Source Control & Automated Build

Hi, We are currently using VS 2005 and VSS, however we have some upgraded VS 2010 Premium with MSDN essential licenses as we are MS partner. We are planning to use TFS 2010 for Source Control and Build Automation and have following queries: We currently use VSS where it is integrated with legacy applications such as Classic ASP, VB 6...

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

How to set up custom arguments for the "queue build" screen with drop down choices?

Basically I've been following Jim Lamb's article here: http://blogs.msdn.com/b/jimlamb/archive/2009/11/18/how-to-create-a-custom-workflow-activity-for-tfs-build-2010.aspx?wa=wsignin1.0 Near the bottom he discuses how to add arguments on the Parameters tab on the Queue Build. I have an option that could benefit from a list of choices rat...

TFS 2010 Build Creates dll.LOCKED file in the Binaries directory

Other projects need the DLL to compile. Anyone have an idea? ...

TF204000: The Team Foundation server to which your team project is connected does not support the Rollback command.

When I try to rollback my bad changeset using tf rollback /changeset:xx I'm getting next error: TF204000: The Team Foundation server to which your team project is connected does not support the Rollback command. Is it possible to fix that someway? Googling brings not result ...

How to move TFS commands in Visual Studio from right-click menu into sub menu?

Since we have installed TFS as our source code control system, my right-click menu in Visual Studio 2010 is ridiculously long! I know how to customize the context menus, but having to do it in all those places is painstaking... is there any addin that will automatically move all the TFS-related items into a sub-menu. I miss how Ankh ...

Get code of project being built and place into a directory

Hi, I want to write a TFS task which will get the code of the project being built and put it into a directory on the build agent for burning to a cd. How could I get the code and put it into a directory? Thanks ...

Limiting results from TFS WorkItemStore.Query

Is there a way to limit the amount of workitems that gets returned from WorkItemStore.Query? workItemStore.Query("Select Title from Issue where (State = 'Active') order by Title") <-- returns quite a few results. For what I'm doing I only want the first 5 results. Using a query like "Select TOP 5 ID, Title from Issue where (State = 'A...

gacutil from MSBuild

Hi, in my MSBuild file (TFSBuild.proj since I am running Team Builds) the exec command=gacutil alwys fails with the following error: Failure initializing gacutil my build machine is a W2K3 with Team Build 2010. any ideas. Many thanks ...

Using _TEAM_BUILD_ with TFS 2010

We moved from TFS 2008 to TFS 2010. With TFS 2008 I used _TEAM_BUILD_ in project file const to turn PostBuild event off when building by build server. Now, when I create build definition with new format, without using tfsbuild.proj, but using Default template, it doesn't seem to work. I have PostBuildEvent running even though I am usin...

Move Projects Between Collections in TFS 2010

As the title says, I'd like to move some projects between collections. The only resources I've found are these two and they don't address how to do this: Feature Request Move a Collection Does anyone know of any other resource or has information on how to move a project from one collection to another? ...

Cannot find any MDX syntax about adding comments

I am customizing one of the CMMI reports in TFS 2010. One of them is "Bug Status". When I open the query in the Query Designer of BIDS, i see that two backslashes (//) are used for comments. But where does the comment stop? It looks like a tab is the stop.... Is there any reference to find about the comment syntax ? Here is the quer...

Team Foundation Server 2010: Build with external library

Hello, I have issues to build a project using external libraries with Visual Studio 2010 TFS. At the root of the solution, I have a "libs" folder with all my shared libraries and I'm referencing the libraries from there. When I'm building the project, some libraries are not considered and I get the following error message: C:\Wi...

Bug Status report gives 2 warnings in design previewer

I am customizing the Bug Status report from the CMMI process template in TFS2010. When opening the report in BIDS (a report designer SQLServer 2008), assigning 2 live shared datasources and clicking the preview tab, the compiler windows shows 2 warnings: [rsInvalidSize] The value of the DynamicHeight property for the chart ‘dundasChart...