VisualStudio icon indicating copy to clipboard operation
VisualStudio copied to clipboard

Can't open pull requests

Open edcasillas opened this issue 4 years ago • 11 comments

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:

  1. Open the Github panel using the "View, Checkout or Create a Pull Request" button in the bottom bar of VS.
  2. A list of open PRs is shown. Double click one of them.
  3. 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> >)'.
  1. 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

edcasillas avatar Aug 10 '20 18:08 edcasillas

The same thing is happening for me after last update.

image

image

stsrki avatar Sep 02 '20 14:09 stsrki

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 avatar Sep 30 '20 10:09 EnCey

@EnCey You can get the updated extension for the latest VS. It's working now, at least for me.

stsrki avatar Sep 30 '20 10:09 stsrki

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 :)

edcasillas avatar Sep 30 '20 16:09 edcasillas

@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?

EnCey avatar Oct 15 '20 15:10 EnCey

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).

image

So ... screw any version of this thing 👎

EnCey avatar Oct 15 '20 15:10 EnCey

@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

marcinwieczoreklgs avatar Oct 15 '20 15:10 marcinwieczoreklgs

@EnCey I mean extension that you can install from Visual Studio.

image

stsrki avatar Oct 15 '20 18:10 stsrki

The issue still persists.

VS: 16.8.3 Github.VisualStudio: 2.11.106.19330

dev-vladel avatar Dec 14 '20 11:12 dev-vladel

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

rosrosros avatar Dec 17 '20 10:12 rosrosros

New installation of Github extension has resolved my issue, from below link and from outside visual studio extension.

image

nilesh-s avatar Oct 04 '21 10:10 nilesh-s