c# - RegisteredTfsConnections.GetProjectCollection returns null on test server, but not on dev server -


see topic. works fine on devmachine vstudio2010 installed. not on clean test server (the setup project includes used tfs assemblies).

the docs http://msdn.microsoft.com/en-us/library/ff735997.aspx not helpful return value:

null if no match found.

should use method tfs connection? i'm trying list , download files specific project.

update

i reverted this:

        var uri = new uri("http://myserver/");         var tfs = new teamfoundationserver(uri);         var versioncontrol = tfs.getservice<versioncontrolserver>(); 

which works. teamfoundationserver obsolete. know how in new way.

i use:

var uri = new uri("http://myserver/"); var server = tfsteamprojectcollectionfactory.getteamprojectcollection(uri); 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -