tfs

How to make a branch from a folder based on a previous changeset if it has been moved since then?

Hello! I have the following problem: I would have liked to create a Main folder under the root folder of my Team Project where I would have moved all the existing folders and files into. I created the folder Right-clicked on every item and selected the Move... action After these had been done I checked-in all the pending changes Ev...

TFS Check in rules

Hi I'm out of setting up an TFS server and I want to set some check-in rules. I for example want to be able to set rules about method lenght, complexity and so on, I found NDepend very convenient can I somehow use NDepend to run some rules on the files trying to check in. I also want to be able to bypass the rules sometimes. Are there...

Considerations for deploying TFS 2010 with Sharepoint 2007

Our development team is making the move to TFS 2010 from VSS. The company has an existing Sharepoint 2007 installation. My understanding is that TFS can be integrated with Sharepoint. I have a couple of questions concerning this new TFS installation: Please confirm that Sharepoint is NOT a prerequisite for a TFS installation and T...

How can I get TFS 2010 to build each project to a separate directory?

In our project, we'd like to have our TFS build put each project into its own folder under the drop folder, instead of dropping all of the files into one flat structure. To illustrate, we'd like to see something like this: DropFolder/ Foo/ foo.exe Bar/ bar.dll Baz baz.dll This is basically the same question as was as...

Problems referencing build output from TFS Build and Visual Studio

Here's what I'm trying to do: I have two solutions - one for my main application and its associated projects and another for my database (VS .dbproj) and its associated projects. What I'd like to do is include the output from the database project (a .dbschema and some SQL scripts) in my WiX installer (which exists in the main application...

TFS as source-control: what do you love? what do you hate?

I've used TFS for about 18 months now and I'm really not excited about it. It seems like the worst of the current versions of SCMs on the market. I think this thread will help people decide if TFS is for them vs. other source control systems. While TFS does a lot more than that, I think that source control is so critical to software de...

About to work in a company that uses Team Foundation Server?Advice needed

Hi As a developer I am a user of Subversion at the moment and I am changing job and going to work for a company that uses Team Foundation Server I would like to learn the basic and more as user of Team Foundation Server What do I need to do to replicate the enviroment and practice a bit? Any Tips ? What should I read? Can I simulate...

TF203015 The Item $/path/file has an incompatible pending change. While trying to unshelve.

I'm using Visual Studio 2010 Pro against Team Server 2010 and I had my project opened (apparently) as a solution from the repo, but I should've opened it as "web site". I found this out during compile, so I went to shelve my new changes and deleted the project from my local disk, then opened the project again from source (this time as we...

TFS 2008: How do I setup a Build Server

Can someone point me to documentation on setting up a TFS 2008 build server? ...

C2360 compiler error on TFS build, but not on desktop

A c++/cli code snippet similar to the code below caused our TFS build to fail with a C2360 compiler error. switch (i) { case 0 : for each (int n in a) System::Console::WriteLine(n.ToString()); break; case 1 : System::Console::WriteLine("n is not in scope here"); break; } This is fixed by...

Team Foundation Server Work Item customization -- Add a new Text Field

May I know how to add a new custom text field in TFS to show the lastest revision number? Can anyone explain in deatil about Making use of work item’s XML and customize TFS work items. How to create custom window form control to add to work item.And installation of custom control runtime ...

How to create users and view reports in TFS 2010?

Hi, Recently I have installed a new instance of TFS 2010 on a MS Windows 2008. But it seems that some parts in not installed or configured properly. I'm going to define users and roles according to a specific process template but I don't know where I can do this. There is same problems with reports. ...

How should I proceed to upgrade from TFS2008 to TFS2010

Hi, We have a TFS2008 server with multiple team projects (about 20) What is the best way to migrate to TFS2010 without losing the history. I believe there are 2 ways, correct me if I'm wrong: installing a fresh tfs2010 and importing the DB from TFS 2008 or in-place upgrade. What is your recommendation and why? Are there any issue I ...

TFS Check-in Unavailable

I have a C# project that is booked into TFS. However, for some reason one of the forms within the project has not booked in. I can’t work out how to force this to book in, as right-clicking on the source file doesn’t give me the option to check-in. All the other files in the project are booked in, and I can see them using the Source C...

Unable to get project info and source control from a particular machine

From one particular machine, we are unable to get the tfs 2010 project tree via the visual studio 2010 team explorer. The connection with the tfs server is made, but only the top level project names are shown with a red cross. The tree under it remains empty. Web access is possible from this machine. From all other machines everything ...

Receive email in TFS when I have a new task

Is there a way to receive an alert (email) in TFS whenever I have a new task? ...

TSD03006: Function: [dbo].[clr_function] has an unresolved reference to Assembly [CLRAssembly.SQL]

I'm using GDR2 (VSTS2008) to deploy a sql clr function to a target db (server: sql server 2008) via Team Build. The error is obvious in that the assembly does not exist on the target server. But, based on the documentation (Deploying CLR ) that there is on this topic, I'm assuming that by simply adding a reference to the assembly in the ...

TFS 2008, Conchango Scrum For Team Systems, and Work Item Queries

We are using the first version of Scrum for team system in TFS 2008. What I'm trying to do is write a query to get all sprint backlog items in the current active sprint. I'd like to use the sprint start and end dates around the @Today param to get the list. something like this: Team Project = @Project AND Sprint Start <= @Today AND S...

How do you specify a direct build name directory using TFS build of an ASP.net web application?

I have a TFS build set up to deploy an ASP.net project to a test server. The build works great, and deploys to the test server fine, but instead of putting it into the \Website directory that my IIS webserver is configured for, it puts the build into \Website_20100511.6 Why is the date suffixed to the directory name? Is there a way to...

TFS and code coverage for web application (MVC) assemblies not working

I've got an MVC web application with associated controller tests that run under a TFS build as per normal. I can see the tests running and passing in the build log and they appear in the "Result details for Any CPU/Release" section of the build I also have a number of other assemblies with associated tests that are running in the same ...