It seems that GetServer() method implying ICredential parameter no longer exists on TeamFoundationServerFactoryClass.
Refering last VSIP SDK Doc, you must now provide a ICredentialProvider class, implemented by default in UICredentialProvider.
I've not found a way to patch the source code to allow specifying username/password... So, I've simply skipped this parameter and use current credentials to authenticate.
Perhaps you could implement your own ICredentialProvider to provide custom login/password ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems that GetServer() method implying ICredential parameter no longer exists on TeamFoundationServerFactoryClass.
Refering last VSIP SDK Doc, you must now provide a ICredentialProvider class, implemented by default in UICredentialProvider.
I've not found a way to patch the source code to allow specifying username/password... So, I've simply skipped this parameter and use current credentials to authenticate.
Perhaps you could implement your own ICredentialProvider to provide custom login/password ?
Hi - I fixed this. Turns out the API changed so now I use the TeamFoundationServer constructor.