{"action":"created","issue":{"url":"https://api.github.com/repos/git-tfs/git-tfs/issues/953","repository_url":"https://api.github.com/repos/git-tfs/git-tfs","labels_url":"https://api.github.com/repos/git-tfs/git-tfs/issues/953/labels{/name}","comments_url":"https://api.github.com/repos/git-tfs/git-tfs/issues/953/comments","events_url":"https://api.github.com/repos/git-tfs/git-tfs/issues/953/events","html_url":"https://github.com/git-tfs/git-tfs/issues/953","id":147959619,"number":953,"title":"Unable to load any TFS assemblies!","user":{"login":"jyotima","id":5457081,"avatar_url":"https://avatars.githubusercontent.com/u/5457081?v=3","gravatar_id":"","url":"https://api.github.com/users/jyotima","html_url":"https://github.com/jyotima","followers_url":"https://api.github.com/users/jyotima/followers","following_url":"https://api.github.com/users/jyotima/following{/other_user}","gists_url":"https://api.github.com/users/jyotima/gists{/gist_id}","starred_url":"https://api.github.com/users/jyotima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyotima/subscriptions","organizations_url":"https://api.github.com/users/jyotima/orgs","repos_url":"https://api.github.com/users/jyotima/repos","events_url":"https://api.github.com/users/jyotima/events{/privacy}","received_events_url":"https://api.github.com/users/jyotima/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-04-13T06:27:46Z","updated_at":"2016-08-04T06:33:00Z","closed_at":"2016-04-13T07:07:56Z","body":"Repro steps:\r\n1. using Windows 10 pc + Visual studio 2015\r\n2. binaries taken from : https://github.com/git-tfs/git-tfs/releases/download/v0.25.0/GitTfs-0.25.0.zip.\r\n3. Extracted the binaries into C:\\git-tfs\r\n4. Opened command prompt as administrator\r\n5. execute git-tfs.exe\r\n6. Unable to load any TFS assemblies!\r\nCould not load file or assembly 'file:///C:\\git-tfs\\GitTfs.Vs2015\\Microsoft.TeamFoundation.Client.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)\r\n7. log from fuslogvw:\r\n*** Assembly Binder Log Entry  (4/12/2016 @ 8:31:49 PM) ***\r\n\r\nThe operation failed.\r\nBind result: hr = 0x80070002. The system cannot find the file specified.\r\n\r\nAssembly manager loaded from:  C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\clr.dll\r\nRunning under executable  C:\\git-tfs\\git-tfs.exe\r\n--- A detailed error log follows. \r\n\r\n=== Pre-bind state information ===\r\nLOG: DisplayName = Microsoft.TeamFoundation.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\r\n (Fully-specified)\r\nLOG: Appbase = file:///C:/git-tfs/\r\nLOG: Initial PrivatePath = NULL\r\nLOG: Dynamic Base = NULL\r\nLOG: Cache Base = NULL\r\nLOG: AppName = git-tfs.exe\r\nCalling assembly : GitTfs.Vs2015, Version=0.25.0.0, Culture=neutral, PublicKeyToken=null.\r\n===\r\nLOG: This bind starts in default load context.\r\nLOG: Using application configuration file: C:\\git-tfs\\git-tfs.exe.Config\r\nLOG: Using host configuration file: \r\nLOG: Using machine configuration file from C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\config\\machine.config.\r\nLOG: Post-policy reference: Microsoft.TeamFoundation.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\r\nLOG: GAC Lookup was unsuccessful.\r\nLOG: Attempting download of new URL file:///C:/git-tfs/Microsoft.TeamFoundation.Client.DLL.\r\nLOG: Attempting download of new URL file:///C:/git-tfs/Microsoft.TeamFoundation.Client/Microsoft.TeamFoundation.Client.DLL.\r\nLOG: Attempting download of new URL file:///C:/git-tfs/Microsoft.TeamFoundation.Client.EXE.\r\nLOG: Attempting download of new URL file:///C:/git-tfs/Microsoft.TeamFoundation.Client/Microsoft.TeamFoundation.Client.EXE.\r\nLOG: All probing URLs attempted and failed.\r\n\r\n*** Assembly Binder Log Entry  (4/12/2016 @ 8:31:49 PM) ***\r\n\r\nThe operation failed.\r\nBind result: hr = 0x80070002. The system cannot find the file specified.\r\n\r\nAssembly manager loaded from:  C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\clr.dll\r\nRunning under executable  C:\\git-tfs\\git-tfs.exe\r\n--- A detailed error log follows. \r\n\r\n=== Pre-bind state information ===\r\nLOG: DisplayName = Microsoft.TeamFoundation.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\r\n (Fully-specified)\r\nLOG: Appbase = file:///C:/git-tfs/\r\nLOG: Initial PrivatePath = NULL\r\nLOG: Dynamic Base = NULL\r\nLOG: Cache Base = NULL\r\nLOG: AppName = git-tfs.exe\r\nCalling assembly : GitTfs.Vs2015, Version=0.25.0.0, Culture=neutral, PublicKeyToken=null.\r\n===\r\nLOG: This bind starts in default load context.\r\nLOG: Using application configuration file: C:\\git-tfs\\git-tfs.exe.Config\r\nLOG: Using host configuration file: \r\nLOG: Using machine configuration file from C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\config\\machine.config.\r\nLOG: Post-policy reference: Microsoft.TeamFoundation.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\r\nLOG: GAC Lookup was unsuccessful.\r\nLOG: Attempting download of new URL file:///C:/git-tfs/Microsoft.TeamFoundation.Client.DLL.\r\nLOG: Attempting download of new URL file:///C:/git-tfs/Microsoft.TeamFoundation.Client/Microsoft.TeamFoundation.Client.DLL.\r\nLOG: Attempting download of new URL file:///C:/git-tfs/Microsoft.TeamFoundation.Client.EXE.\r\nLOG: Attempting download of new URL file:///C:/git-tfs/Microsoft.TeamFoundation.Client/Microsoft.TeamFoundation.Client.EXE.\r\nLOG: All probing URLs attempted and failed.\r\n\r\n\r\nTo report a good issue, please verify that you validate these points:\r\n\r\n- [ ] you have read the documentation about [command line options](../../#available-commands--options) and [advanced use cases](../../#more-advanced-use-cases)\r\n- [ ] upgrade and test with the last version\r\n- [ ] specify the version you are using\r\n- [ ] include steps you followed to reproduce the problem\r\n- [ ] if the problem occurs when using a git-tfs command, please provide the output of the command when using the `--debug` command line option (providing a gist could be a clever idea ;))\r\n"},"comment":{"url":"https://api.github.com/repos/git-tfs/git-tfs/issues/comments/237464752","html_url":"https://github.com/git-tfs/git-tfs/issues/953#issuecomment-237464752","issue_url":"https://api.github.com/repos/git-tfs/git-tfs/issues/953","id":237464752,"user":{"login":"Anderman","id":1858745,"avatar_url":"https://avatars.githubusercontent.com/u/1858745?v=3","gravatar_id":"","url":"https://api.github.com/users/Anderman","html_url":"https://github.com/Anderman","followers_url":"https://api.github.com/users/Anderman/followers","following_url":"https://api.github.com/users/Anderman/following{/other_user}","gists_url":"https://api.github.com/users/Anderman/gists{/gist_id}","starred_url":"https://api.github.com/users/Anderman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anderman/subscriptions","organizations_url":"https://api.github.com/users/Anderman/orgs","repos_url":"https://api.github.com/users/Anderman/repos","events_url":"https://api.github.com/users/Anderman/events{/privacy}","received_events_url":"https://api.github.com/users/Anderman/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T06:33:00Z","updated_at":"2016-08-04T06:33:00Z","body":"I had the same issue today. After using git-tfs some months ago without problems.\r\n\r\nadding\r\n```\r\n   <runtime>\r\n      <loadFromRemoteSources enabled=\"true\"/>\r\n   </runtime>\r\n```\r\nto git-tfs.config\r\n\r\n<?xml version=\"1.0\"?>\r\n\r\n```\r\n<configuration>\r\n  <startup useLegacyV2RuntimeActivationPolicy=\"true\">\r\n    <supportedRuntime version=\"v4.0\" sku=\".NETFramework,Version=v4.0\" />\r\n  </startup>\r\n   <runtime>\r\n      <loadFromRemoteSources enabled=\"true\"/>\r\n   </runtime>\r\n</configuration>\r\n```"}}
{"actor":{"display_login":"Anderman"}}