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

image47dd1de4

Buenas,

cuando utilizas las power tools desde la línea de comandos es muy probable que te encuentres con el siguiente 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

Esto sucede porque las Power Tools intentan ejecutar el comando desde un directorio que no pertenece a ningún workspace.

La solución consiste en cambiar a un directorio, que esté mapeado en un Workspace y lanzar el comando nuevamente desde el mismo. El siguiente ejemplo, cambia a mi disco de 4 TB en mi notebook E: y lanza nuevamente el comando desde el mismo:

   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

Una solución SOS >> simple, obvia y sencilla Open-mouthed smile

Saludos @ Here

El Bruno

   

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

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.