You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0' #1969
Using 2.5.6.4958, when trying to clone a repo, this exception is thrown. Thanks!
2018-10-03 16:17:54.949 [10996] EROR [01] RepositorySelectViewModel Error reading repository list from GitHub.Primitives.HostAddress
System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
File name: 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
at Octokit.GraphQL.Core.Builders.QueryBuilder.Build[TResult](IQueryableValue1 query) at Octokit.GraphQL.QueryableValueExtensions.Compile[T](IQueryableValue1 expression)
at GitHub.Services.RepositoryCloneService.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at GitHub.ViewModels.Dialog.Clone.RepositorySelectViewModel.d__37.MoveNext()
Hmm, looks like this may be #1774 manifesting itself. Strange that it's showing up now though as we've been shipping that version for the last 8 months...
Will investigate further and get a bug release out asap.
Activity
nmylle commentedon Oct 4, 2018
Same problem when opening the 'GitHub' View to to a pull request.

Any solutions?
grokys commentedon Oct 4, 2018
Hmm, looks like this may be #1774 manifesting itself. Strange that it's showing up now though as we've been shipping that version for the last 8 months...
Will investigate further and get a bug release out asap.
nmylle commentedon Oct 5, 2018
Do I need to update the extension? If so, how?
grokys commentedon Oct 5, 2018
@efev0f0 @MYLLE firstly, could you let me know which version of Visual Studio you're on?
Secondly, I've opened a PR that might fix this: #1975
Could you give that a try? You can download the artifacts from https://ci.appveyor.com/project/github-windows/visualstudio/build/2.5.6.5015/artifacts - download
GitHub.VisualStudio.vsixand run it.nmylle commentedon Oct 5, 2018
Visual Studio 2015: Version 14.0.25431.01 Update 3
GitHub.VisualStudio: 2.5.6.4958
Update did not fix the problem
grokys commentedon Oct 5, 2018
Yes, if you're on 2015 then that won't fix the problem - neither of you mentioned the version of VS you were using so I assumed 2017.
We're investigating 2015 now.
grokys commentedon Oct 5, 2018
@MYLLE ok, hopefully we've got it this time: could you try the version here: https://ci.appveyor.com/project/github-windows/visualstudio/build/2.5.6.5020/artifacts
efev0f0 commentedon Oct 5, 2018
@grokys it worked for me, thanks!
jcansdale commentedon Oct 6, 2018
Thanks for reporting this. The issue will be automatically closed by #1975.
nmylle commentedon Oct 8, 2018
@grokys , this fixed my problem!
Thank you!
grokys commentedon Oct 8, 2018
Fixed in 2.5.7.5090 - the release should roll out to all users shortly!
Thanks for helping us test @efev0f0 @MYLLE, and sorry for the inconvenience.