Archivos para 27/08/11

[# 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

   

1 comentario

[#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

   

1 comentario

Seguir

Get every new post delivered to your Inbox.

Únete a otros 898 seguidores