[# TFS2010] Error: Unable to determine source control server

image47dd1de4

Good,

When you use the power tools from the command line it is very likely that you are with the following error:

   1: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>;tfpt builddefinition /diff

 

   2: "AgileLabs\Team Build.Java Maven 15" "AgileLabs\Team Build.Java Maven 15.2"

 

   3: Unable to determine the source control server.

 

   4:

 

   5: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>

 

image

This happens because the Power Tools try to run the command from a directory that does not belong to any workspace.

The solution is to change to a directory that is mapped in a Workspace and launch the command again from the same. The following example, changes to my 4 TB in my notebook E: drive and launches the command again from the same:

   1:

 

   2: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>;tfpt builddefinition /diff

 

   3: "AgileLabs\Team Build.Java Maven 15" "AgileLabs\Team Build.Java Maven 15.2"

 

   4: Unable to determine the source control server.

 

   5:

 

   6: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>;e:

 

   7:

 

   8: E:\srcBcapuano\AgileLabs>;tfpt builddefinition /diff

 

   9: "AgileLabs\Team Build.Java Maven 15" "AgileLabs\Team Build.Java Maven 15.2"

 

  10: Querying Build Definitions...

 

  11: Examining Build Definition: Team Build.Java Maven 15...

 

  12: Loading Process Parameters...

 

  13: Loading Custom Assemblies...

 

  14: Examining Build Definition: Team Build.Java Maven 15.2...

 

  15: Loading Process Parameters...

 

  16: Loading Custom Assemblies...

 

  17:

 

  18: E:\srcBcapuano\AgileLabs>

 

 

image

A SOS solution > > simple, obvious and simple Open-mouthed smile

Greetings @ Here

The Bruno

   

One thought on “[# TFS2010] Error: Unable to determine source control server

  1. Pingback: [English] Visual Studio 2010 ALM | El Bruno

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s