We are on TFS2010, and using the vs2008 TFSBuild.proj style for our builds.
I receive the following error when running TFS builds
C:\Builds\1\AffiliateService\AffiliateDB_DEV_FB\BuildType\TFSBuild.proj (204):
Unable to create a team build proxy connection to build AffiliateDB_DEV_FB on TeamServer http://SERVERNAME:8080/DEVTFS/DEVCollection
My TFSBuild.proj looks like this:
<>
TaskName="FinalBuilder.FBCmd"
AssemblyFile="C:\Program Files (x86)\FinalBuilder 7\FinalBuilder.MSBuild.Tasks.dll" />
<>
ProjectFile="$(MSBuildProjectDirectory)\AffiliateDB_DEV_FB.fbp7"
TeamServer="$(TeamFoundationServerUrl)"
TeamProject="$(TeamProject)"
TeamDropLocation="$(DropLocation)\$(BuildNumber)"
TeamBuildType="$(BuildDefinition)"
TeamBuildNumber="$(BuildNumber)"
TeamBuildRoot="$(SolutionRoot)" />
My FBP7 project starts with the action: "Get Team Foundation Build Parameters"
what am I doing wrong?
I'm running FB 7.0.0.993
Hi Alex,
A couple of things:
- is the URL passed from TFS (http://SERVERNAME:8080/DEVTFS/DEVCollection) what you would expect?
- what are the first few actions after Get TFS Build Parameters?
While we may be able to work out what’s going on, in general the best way to solve errors with TFS2008/MSBuild-style builds on TFS2010 is to replace them with TFS2010/Workflow Foundation-style builds. The massive change betweeen 2008 and 2010 in how TFS executes builds and how we integrate with it makes chasing down problems rather difficult.
Cheers,
Ben
Yes, the passed URL is correct
The next action is saving the current datetime into a variable, then saving the variables to an INI file, followed by 2 msbuild project actions
We are (currently) more comfortable with the proj file based builds (easier to edit/copy) so the move to WF based builds will take some time.
For the time being, I think we will stop using the "Get Team Foundation Build Parameters" action and just pass the wanted variables using the Variables property of FBCmd
I can understand not wanting to use Windows Workflow…
Can you send your full diagnostic TFS build log through to support at finalbuilder.com? That way I should be able to see where in the FinalBuilder project its failing.
Cheers,
Ben