How can I get the TFS version programmatically?
I am trying to get the version that shows up in the TFS Administration console.
I tried the following code, but it returns the server version as "Server Version: Dev14.M89-Part7", that doesn't seem correct.
var server = new TfsTeamProjectCollection(new Uri("http://tfs2015:8080/tfs"));
server.EnsureAuthenticated();
var serverVersion = server.ServerDataProvider.ServerVersion;
Console.WriteLine("Server Version: {0}", serverVersion);
I guess I am looking at the wrong property...