VisualStudio
VisualStudio copied to clipboard
Can't open pull requests
Versions
- GitHub Extension for Visual Studio version: 2.11.104.25275
- Visual Studio version: VS Enterprise 2019 (16.7.0)
What happened
I can't open pull requests to review from Visual Studio as I used to do in the past. Double clicking a pull request shows an error instead of showing the changes included in the PR.
Steps to Reproduce
Steps to reproduce the behavior:
- Open the Github panel using the "View, Checkout or Create a Pull Request" button in the bottom bar of VS.
- A list of open PRs is shown. Double click one of them.
- The panel shows the error:
Method not found: 'Octokit.GraphQL.Model.PullRequestReviewCommentConnection Octokit.GraphQL.PullRequestRevireThread.Comments (System.Nullable`1<Octokit.GraphQL.Core.Arg`1<Int32> >, System.Nullable`1<Octokit.GraphQL.Core.Arg`1<System.String> >, System.Nullable`1<Octokit.GraphQL.Core.Arg`1<Int32> >, System.Nullable`1<Octokit.GraphQL.Core.Arg`1<System.String> >, System.Nullable`1<Octokit.GraphQL.Core.Arg`1<Int32> >)'.
- Click the refresh button, the error is replaced by:
Object reference not set to an instance of an object
Expected behavior
Double clicking a Pull Request should show the changes contained in that PR.
Screenshots
https://1drv.ms/u/s!AuqhI9Vh_jEi2YNJMM3MOS2dB2ju7w?e=qmhtJd
The same thing is happening for me after last update.
Sooo this renders the entire extension basically useless but remains unattended for almost 2 months? I did code reviews in the web directly in GitHub and was just looking for a Visual Studio extension; I take it then that this one is not really maintained and I should look elsewhere?
Or does someone know a workaround or something to bypass the error?
@EnCey You can get the updated extension for the latest VS. It's working now, at least for me.
Sooo this renders the entire extension basically useless but remains unattended for almost 2 months? I did code reviews in the web directly in GitHub and was just looking for a Visual Studio extension; I take it then that this one is not really maintained and I should look elsewhere?
Or does someone know a workaround or something to bypass the error?
Actually this is the reason why I recently decided to quit using Visual Studio at all. I'm using Rider instead, which also includes GitHub capabilities, and it's doing good so far :)
@EnCey You can get the updated extension for the latest VS. It's working now, at least for me.
Can you elaborate? Which version of VS and the extension, do you mean a nightly build or a sort-of stable one?
So i just uninstalled the extension to go looking for a preview version, and now this happens when I start VS (mind you, I did not even re-install any version of the extension yet – just uninstalled it).
So ... screw any version of this thing 👎
@EnCey You can get the updated extension for the latest VS. It's working now, at least for me.
Can you elaborate? Which version of VS and the extension, do you mean a nightly build or a sort-of stable one?
For me also works now. VS: 16.7.5 GitHub.VisualStudio: 2.11.106.19330
@EnCey I mean extension that you can install from Visual Studio.
The issue still persists.
VS: 16.8.3 Github.VisualStudio: 2.11.106.19330
Installed version 2.11.108 from here: https://github.com/github/VisualStudio/actions/runs/364077069 This solved the issue with VS version 16.8.1
New installation of Github extension has resolved my issue, from below link and from outside visual studio extension.