tfs-native.exe command line guide
Hello everyone!
I have case when Visual Studio Team Explorer 2010 connect to my tfs server, but tfs-native.exe could`t (from the same PC) with message:
Failed to start build[11:25:59]Failed to collect changes, error: TFS failed. ExitCode: 1 stdout: TFS Native Verifier v7.1 Copyright (C) 2006-2013 JetBrains s.r.o. Running under .NET Framework 4.0.30319.296 TFS Native Verifier v7.1 Copyright (C) 2006-2013 JetBrains s.r.o. Running under .NET Framework 4.0.30319.296 INFO - INFO - Use Team Explorer 2010 INFO - TFS Native Accessor v7.1 Copyright (C) 2006-2013 JetBrains s.r.o. INFO - Connecting to server http://MY_SERVER Get current version: Server='http://MY_SERVER' Username='buildserver' ERROR - Unable to connect to the remote server System.Exception: Unable to connect to the remote server ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it MY_SERVER at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Bool...
So, i trying connect with Team Explorer and with build agent from same PC.
I need some quide of command line syntax of tfs-native.exe. It will help to investigate the problem.
Running tfs-native.exe with /? did`t give me so much info
C:\BuildAgent\plugins\tfs-agent\bin>tfs-native.exe /?
TFS Native Verifier v7.1 Copyright (C) 2006-2013 JetBrains s.r.o.
Running under .NET Framework 4.0.30319.296
INFO -
INFO - Use Team Explorer 2010
INFO -
TFS Native Accessor v7.1 Copyright (C) 2006-2013 JetBrains s.r.o.
INFO - Connecting to server /?
ERROR - Index was outside the bounds of the array.
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at JetBrains.TeamCity.Tfs.CommandLineParser.Get(Int32 index) in c:\BuildAgent
\work\58b0af5b97257958\TfsNativeAccessor\src\CommandLineParser.cs:line 22
at JetBrains.TeamCity.Tfs.Program.Main(String[] args) in c:\BuildAgent\work\5
8b0af5b97257958\TfsNativeAccessor\src\Program.cs:line 34
C:\BuildAgent\plugins\tfs-agent\bin>
Any ideas about differences between how Team Explorer do the connect and build agent do it?
Please sign in to leave a comment.