Team Foundation Error: Type ‘Microsoft.TeamFoundation.ClientBasicAuthCredential’ is not marked as serializable

If you are getting this when trying to run a build in TFS or when trying to edit a build definition, you only need to reset your credentials. Go to Control Panel > User Accounts > Manage Windows Credentials > In tab Generic Credentials, find the one for your TFS server and edit the credentials. If that doesn’t work, try removing the credential.

About bminisi
Software Architect Specializing in Microsoft Technologies

3 Responses to Team Foundation Error: Type ‘Microsoft.TeamFoundation.ClientBasicAuthCredential’ is not marked as serializable

  1. Rob says:

    Thanks! You’ve got the only result in Google that was relevant and it fixed my issue (editing the credential – not sure if my password had changed or not but after re-pasting in my password again and saving the credential I was able to edit the build definition again – cheers!).

  2. Aaron says:

    Thank you so much for taking the time to post this blog entry.

    I searched for over an hour and was about to post to stackoverflow before I stumble upon your post.

    I tried changing the password but it still did not fix it. I simply deleted/removed the credential and it fixed the issue.

    Thankyou thankyou thankyou!

  3. Removing the credential and then restarting Visual Studio once more fixed the issue for me. Thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: