Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load type 'Microsoft.TeamFoundation.Client.BasicAuthCredential' from assembly 'Microsoft.TeamFoundation.Client

Tags:

c#

tfs

tfs-sdk

I have an MVC app that pulls data from hosted TFS, and when I deploy it I get this error

Could not load type 'Microsoft.TeamFoundation.Client.BasicAuthCredential' from assembly 'Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

However, I have Microsoft.TeamFoundation.Client referenced in the project and the dll is on the server.

Why would it not be able to load Client.BasicAuthCredential from the dll and how would I go about fixing it?

like image 385
Kyle Avatar asked Nov 03 '22 19:11

Kyle


1 Answers

We've had similar issues and after we installed TFS object model this issue was resolved. http://visualstudiogallery.msdn.microsoft.com/a37e19fb-3052-4fc9-bef7-4a4682069a75

like image 192
user3362581 Avatar answered Nov 15 '22 04:11

user3362581