using Microsoft.TeamFoundation.TestManagement.Client;
I've encountered - TypeLoadException was unhandled
Error Description Says:
Could not load type 'Microsoft.TeamFoundation.TFStringComparer' from assembly 'Microsoft.TeamFoundation.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
Any help would be appreciated
I've tried Microsoft Team Foundation Server Extended Client instead of Microsoft Team Foundation Server Client. This resolved my error. Thanks @Patrick-MSFT, you provided me thoughts to resolve the issue
Base on error info, the solution is installing and refer the necessary assemblies Microsoft.TeamFoundation.Common, Version=15.0.0.0
.
You can install nugget Package Microsoft.TeamFoundation.Client. After installed this Package, you can use this reference in the code.
Another workaround is copying the necessary assemblies from another machine. If the issue still persist, please re-install the VS 2017. More details please take a look at this similar question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With