question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to load any TFS assemblies!

See original GitHub issue

I have installed git and git-tfs.

I have opened GIT Bash and entered the command git tfs --version which results in

Unable to load any TFS assemblies! Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

I’m using VS2015. I have checked the issue #258 but it doesn’t solve the problem.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

42reactions
valdiszcommented, Feb 4, 2016

I solved this issue by unblocking all exe and dll files what came in tfs-git package. You can use this PowerShell script to unblock all files (should be run in folder where you unpacked tfs-git):

ls *.exe,*.dll -Recurse | foreach { Unblock-File $_.FullName }
0reactions
bgmeinercommented, Feb 16, 2017

The solution from @valdisz worked for me too…

Here’s the full log (unfortunately in German) but it seems to be related to this: https://msdn.microsoft.com/en-us/library/dd409252(VS.100).aspx git-tfs_log.txt

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to load any TFS assemblies! · Issue #1258
Could not load file or assembly 'GitTfs.Vs2015\Microsoft.TeamFoundation.Client.dll' or one of its dependencies. Operation is not supported. ( ...
Read more >
git-tfs error .
"Unable to load any TFS assemblies! ... An attempt was made to load an assembly from a network location which would have caused...
Read more >
TFS: "Could not load type ' ' from assembly" - but only ...
I've checked all the Assembly Names under 'Application' tab of properties in VS as suggested in "Could not load type from assembly error"...
Read more >
TFS 2017 Test problem: " Could not load file or assembly ' ...
The error message I'm seeing here is complaining about trying to find a 2015 DLL, which is what I am having difficulty wrapping...
Read more >
"Cannot connect to Team Foundation Server" "Could not ...
I encounter this when I publish my test results to TFS 2010 from VS 2017. If you use the workaround from the known...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found