Skip to content

Conversation

Copy link

Copilot AI commented Nov 18, 2025

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original prompt

This section details on the original issue you should resolve

<issue_title>TFVC - Check-in changes doesn't work after upgrade to VS2026</issue_title>
<issue_description>TFVC - Check-in changes doesn't work after upgrade to VS2026.

Error: Cannot convert the "Microsoft.TeamFoundation.Client.TfsClientCredentials" value of type "System.String" to type "System.Type".
TfsClientCredentials was deprecated in Microsoft.TeamFoundation.Client.dll 16.0 and it doesn't work with Microsoft.TeamFoundation.Client.dll 20.0 at all.</issue_description>

Comments on the Issue (you are @copilot in this section)

@jessehouwing My bandwidth to fix this is currently low and I personally do not have any clients that use this feature anymore as far as I am aware. I suspect the required changes are limited, I'd appreciate a PR in case anyone has the time to debug. @jessehouwing Possible solution avenues:
  1. Download the nuget for client I object model 16 and commit it to the task folder.
  2. Remove latest from the call to vswhere and offer a dropdown with specific versions or provide a version range.
  3. Use load the assembly using reflection, read it's version number and adjust the loflgic depending on the version found.

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@jessehouwing
Copy link
Owner

@copilot report, why did you assign back to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TFVC - Check-in changes doesn't work after upgrade to VS2026

2 participants