VS TFS Team Build Process

Install not too bad. Recommendation was to put on a standalone machine or server that would not use too many resources. I picked my spare XP SP3 machine and installed Visual Studio Team Foundation Server 2010. For drop folder I used a server with short directory name \\server-name\Build
Then using Team Explorer in VS from my developer machine I created a Build definition.

First bug was:
user ‘nt authority\network service’ needs write permissions to the path
Solution was go to highest directory add security for Network Service Full Control, but only for that folder
Then for folder Build I also added security for Network Service. This all took sometime.

Now running however next problem was
assemblies not on machine.
Installed on build machine Report Viewer then later VBPowerPacks. Getting better

Next problem was
dll’s below root of build
Solution was to create a “solution folder” called CommonAssemblies and added the required dll’s into this folder. Then Checked these in to Source Code control and pointed projects using these to this folder.

Next problem was
When a program used one assmbly which used another dll build did not work properly. 
Solution was to add dll to last project to build.

———-

Worked great for a day then Build controllers stopped working:
“there was no endpoint listening at http:// … /v3.0/… that would accept the message this is often caused by an incorrect address or soap action”
http://www.ewaldhofman.nl/post/2010/07/14/Build-server-stops-suddenly-and-frequently.aspx
“In my case it turned out that I had a duplicate entry in the DHCP server for the Build Server. Removing the duplicate entry solved the issue.”
DHCP server on PDC server. On inspection I also had duplicate entry in DHCP server. We then a reserved IP address for my XP Build Server machine. This may have helped.
However also in TFS Administration Console changed the “Build Service properties” “Local Build Service Endpoint (incoming):” to use http:// < ip address of machine >

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: