Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

PR preview is broken in VS 2019 16.7.3 on Windows 7 #2547

Closed
bchavez opened this issue Sep 13, 2020 · 8 comments · Fixed by #2549
Closed

PR preview is broken in VS 2019 16.7.3 on Windows 7 #2547

bchavez opened this issue Sep 13, 2020 · 8 comments · Fixed by #2549

Comments

@bchavez
Copy link

bchavez commented Sep 13, 2020

Versions

  • GitHub Extension for Visual Studio version:
    image

  • Visual Studio version:
    image

What happened

Clicking on a PR results in the following UI error:
image
image

Then, pressing Refresh:
image
image

However, starting Visual Studio with devenv /log actually makes the GitHub window work:

image
image

Steps to Reproduce

Steps to reproduce the behavior:

  1. Checkout https://github.com/bchavez/Coinbase.Pro on Windows 7.
  2. Start VS without /log argument.
  3. Open the Coinbase.Pro sln file.
  4. Open the GitHub VS extension window.
  5. Try checking out any PR on Windows 7 with VS 2019 16.7.3 installed
  6. See error

Starting Visual Studio with devenv /log will make the error go away.

Expected behavior

The expected behavior is that no error is shown and PR preview page is visible.
image

Screenshots

See above.

Logs

GitHubVisualStudio\extension.log

2020-09-13 07:15:48.191 [18672] EROR [12] TaskExtensions            
System.AggregateException: One or more errors occurred. ---> System.MissingMethodException: Method not found: 'Octokit.GraphQL.Model.UserConnection Octokit.GraphQL.Model.Repository.AssignableUsers(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<System.String>>)'.
   at GitHub.Services.PullRequestService.<ReadAssignableUsers>d__18.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at GitHub.Services.PullRequestService.ReadAssignableUsers(HostAddress address, String owner, String name, String after)
   at GitHub.ViewModels.GitHubPane.PullRequestListViewModel.LoadAuthors(String after) in d:\a\1\s\src\GitHub.App\ViewModels\GitHubPane\PullRequestListViewModel.cs:line 95
   at GitHub.ViewModels.UserFilterViewModel.<Load>d__23.MoveNext() in d:\a\1\s\src\GitHub.App\ViewModels\UserFilterViewModel.cs:line 123
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.MissingMethodException: Method not found: 'Octokit.GraphQL.Model.UserConnection Octokit.GraphQL.Model.Repository.AssignableUsers(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<System.String>>)'.
   at GitHub.Services.PullRequestService.<ReadAssignableUsers>d__18.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at GitHub.Services.PullRequestService.ReadAssignableUsers(HostAddress address, String owner, String name, String after)
   at GitHub.ViewModels.GitHubPane.PullRequestListViewModel.LoadAuthors(String after) in d:\a\1\s\src\GitHub.App\ViewModels\GitHubPane\PullRequestListViewModel.cs:line 95
   at GitHub.ViewModels.UserFilterViewModel.<Load>d__23.MoveNext() in d:\a\1\s\src\GitHub.App\ViewModels\UserFilterViewModel.cs:line 123<---

2020-09-13 07:16:04.851 [18672] INFO [129] GitHubPackage             Initializing GitHub Extension v2.11.102.28613 in Microsoft Visual Studio 2019 (16.7.30503.244)
2020-09-13 07:20:45.444 [20508] EROR [32] TaskExtensions            
System.AggregateException: One or more errors occurred. ---> System.MissingMethodException: Method not found: 'Octokit.GraphQL.Model.UserConnection Octokit.GraphQL.Model.Repository.AssignableUsers(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<System.String>>)'.
   at GitHub.Services.PullRequestService.<ReadAssignableUsers>d__18.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at GitHub.Services.PullRequestService.ReadAssignableUsers(HostAddress address, String owner, String name, String after)
   at GitHub.ViewModels.GitHubPane.PullRequestListViewModel.LoadAuthors(String after) in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestListViewModel.cs:line 95
   at GitHub.ViewModels.UserFilterViewModel.<Load>d__23.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\UserFilterViewModel.cs:line 123
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.MissingMethodException: Method not found: 'Octokit.GraphQL.Model.UserConnection Octokit.GraphQL.Model.Repository.AssignableUsers(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<System.String>>)'.
   at GitHub.Services.PullRequestService.<ReadAssignableUsers>d__18.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at GitHub.Services.PullRequestService.ReadAssignableUsers(HostAddress address, String owner, String name, String after)
   at GitHub.ViewModels.GitHubPane.PullRequestListViewModel.LoadAuthors(String after) in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestListViewModel.cs:line 95
   at GitHub.ViewModels.UserFilterViewModel.<Load>d__23.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\UserFilterViewModel.cs:line 123<---

2020-09-13 07:20:56.368 [20508] INFO [131] GitHubPackage             Initializing GitHub Extension v2.11.104.25275 in Microsoft Visual Studio 2019 (16.7.30503.244)
2020-09-13 07:23:52.275 [20508] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0
2020-09-13 07:23:55.141 [20508] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0
2020-09-13 07:23:55.801 [20508] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0
2020-09-13 07:23:56.014 [20508] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0
2020-09-13 07:23:56.185 [20508] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0
2020-09-13 07:25:08.398 [11664] EROR [56] TaskExtensions            
System.AggregateException: One or more errors occurred. ---> System.MissingMethodException: Method not found: 'Octokit.GraphQL.Model.UserConnection Octokit.GraphQL.Model.Repository.AssignableUsers(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<System.String>>)'.
   at GitHub.Services.PullRequestService.<ReadAssignableUsers>d__18.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at GitHub.Services.PullRequestService.ReadAssignableUsers(HostAddress address, String owner, String name, String after)
   at GitHub.ViewModels.GitHubPane.PullRequestListViewModel.LoadAuthors(String after) in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestListViewModel.cs:line 95
   at GitHub.ViewModels.UserFilterViewModel.<Load>d__23.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\UserFilterViewModel.cs:line 123
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.MissingMethodException: Method not found: 'Octokit.GraphQL.Model.UserConnection Octokit.GraphQL.Model.Repository.AssignableUsers(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<System.String>>)'.
   at GitHub.Services.PullRequestService.<ReadAssignableUsers>d__18.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at GitHub.Services.PullRequestService.ReadAssignableUsers(HostAddress address, String owner, String name, String after)
   at GitHub.ViewModels.GitHubPane.PullRequestListViewModel.LoadAuthors(String after) in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestListViewModel.cs:line 95
   at GitHub.ViewModels.UserFilterViewModel.<Load>d__23.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\UserFilterViewModel.cs:line 123<---

2020-09-13 07:25:13.087 [11664] INFO [125] GitHubPackage             Initializing GitHub Extension v2.11.104.25275 in Microsoft Visual Studio 2019 (16.7.30503.244)
2020-09-13 07:28:29.103 [11664] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0
2020-09-13 07:39:49.140 [12984] INFO [130] GitHubPackage             Initializing GitHub Extension v2.11.104.25275 in Microsoft Visual Studio 2019 (16.7.30503.244)
2020-09-13 07:42:25.425 [18896] EROR [48] TaskExtensions            
System.AggregateException: One or more errors occurred. ---> System.MissingMethodException: Method not found: 'Octokit.GraphQL.Model.UserConnection Octokit.GraphQL.Model.Repository.AssignableUsers(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<System.String>>)'.
   at GitHub.Services.PullRequestService.<ReadAssignableUsers>d__18.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at GitHub.Services.PullRequestService.ReadAssignableUsers(HostAddress address, String owner, String name, String after)
   at GitHub.ViewModels.GitHubPane.PullRequestListViewModel.LoadAuthors(String after) in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestListViewModel.cs:line 95
   at GitHub.ViewModels.UserFilterViewModel.<Load>d__23.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\UserFilterViewModel.cs:line 123
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.MissingMethodException: Method not found: 'Octokit.GraphQL.Model.UserConnection Octokit.GraphQL.Model.Repository.AssignableUsers(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<System.String>>)'.
   at GitHub.Services.PullRequestService.<ReadAssignableUsers>d__18.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at GitHub.Services.PullRequestService.ReadAssignableUsers(HostAddress address, String owner, String name, String after)
   at GitHub.ViewModels.GitHubPane.PullRequestListViewModel.LoadAuthors(String after) in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestListViewModel.cs:line 95
   at GitHub.ViewModels.UserFilterViewModel.<Load>d__23.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\UserFilterViewModel.cs:line 123<---

2020-09-13 07:42:45.660 [18896] INFO [23] GitHubPackage             Initializing GitHub Extension v2.11.104.25275 in Microsoft Visual Studio 2019 (16.7.30503.244)
2020-09-13 07:45:01.435 [02668] INFO [95] GitHubPackage             Initializing GitHub Extension v2.11.104.25275 in Microsoft Visual Studio 2019 (16.7.30503.244)
2020-09-13 07:47:19.365 [15216] EROR [29] TaskExtensions            
System.AggregateException: One or more errors occurred. ---> System.MissingMethodException: Method not found: 'Octokit.GraphQL.Model.UserConnection Octokit.GraphQL.Model.Repository.AssignableUsers(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<System.String>>)'.
   at GitHub.Services.PullRequestService.<ReadAssignableUsers>d__18.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at GitHub.Services.PullRequestService.ReadAssignableUsers(HostAddress address, String owner, String name, String after)
   at GitHub.ViewModels.GitHubPane.PullRequestListViewModel.LoadAuthors(String after) in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestListViewModel.cs:line 95
   at GitHub.ViewModels.UserFilterViewModel.<Load>d__23.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\UserFilterViewModel.cs:line 123
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.MissingMethodException: Method not found: 'Octokit.GraphQL.Model.UserConnection Octokit.GraphQL.Model.Repository.AssignableUsers(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<System.String>>)'.
   at GitHub.Services.PullRequestService.<ReadAssignableUsers>d__18.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at GitHub.Services.PullRequestService.ReadAssignableUsers(HostAddress address, String owner, String name, String after)
   at GitHub.ViewModels.GitHubPane.PullRequestListViewModel.LoadAuthors(String after) in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestListViewModel.cs:line 95
   at GitHub.ViewModels.UserFilterViewModel.<Load>d__23.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\UserFilterViewModel.cs:line 123<---

2020-09-13 07:47:22.626 [15216] INFO [92] GitHubPackage             Initializing GitHub Extension v2.11.104.25275 in Microsoft Visual Studio 2019 (16.7.30503.244)
2020-09-13 07:48:00.796 [15216] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0
2020-09-13 07:48:01.866 [15216] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0
2020-09-13 07:48:02.132 [15216] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0
2020-09-13 07:48:02.318 [15216] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0
2020-09-13 07:48:08.653 [15216] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0
2020-09-13 07:48:08.842 [15216] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0
2020-09-13 07:48:09.038 [15216] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0
2020-09-13 07:48:09.224 [15216] EROR [01] PullRequestDetailViewModel Error loading pull request bchavez/Coinbase.Pro/19 from GitHub
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.ViewModels.GitHubPane.PullRequestDetailViewModel.<Refresh>d__118.MoveNext() in D:\a\VisualStudio\VisualStudio\src\GitHub.App\ViewModels\GitHubPane\PullRequestDetailViewModel.cs:line 0

Additional context

dotnet --info

C:\>dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.1.402
 Commit:    9b5de826fd

Runtime Environment:
 OS Name:     Windows
 OS Version:  6.1.7601
 OS Platform: Windows
 RID:         win7-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.1.402\

Host (useful for support):
  Version: 3.1.8
  Commit:  9c1330dedd

.NET Core SDKs installed:
  2.1.518 [C:\Program Files\dotnet\sdk]
  2.1.810 [C:\Program Files\dotnet\sdk]
  2.2.110 [C:\Program Files\dotnet\sdk]
  2.2.207 [C:\Program Files\dotnet\sdk]
  3.1.402 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.19 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.19 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.19 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.21 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download
@bchavez
Copy link
Author

bchavez commented Sep 13, 2020

Hm. Seems like deleting the files in the ComponentModelCache may have helped:

C:\Users\USER\AppData\Local\Microsoft\VisualStudio\16.0_2a8eeedb\ComponentModelCache

Feel free to close the issue if you don't think it's an issue or this issue doesn't need extra error handling.

@bchavez
Copy link
Author

bchavez commented Sep 13, 2020

Ugh. Nevermind, the bug is back:
image

@jcansdale
Copy link
Collaborator

Hi @bchavez,

Thanks for the report!

I have a possible fix ready. Could you try installing the version from here:
https://github.com/github/VisualStudio/actions/runs/253994902

If this works, I'll get a new version out ASAP!

@bchavez
Copy link
Author

bchavez commented Sep 15, 2020

Ok, back on my machine. Just some more data points:

I couldn't reproduce the issue from other PRs until I submitted a PR that has a failing status check: bchavez/Coinbase.Pro#22

Now I can get the GitHub window to display the error somewhat reliably (about 8 in 10 times):

image
image

I will install the custom build now.

@bchavez
Copy link
Author

bchavez commented Sep 15, 2020

Hi @jcansdale, I'm happy to report I started VS 2019 almost 25 times and I no longer get any error with the custom build! I think you have fixed the problem! Your new build is working great!

Thank you so much! 🥳

@jcansdale
Copy link
Collaborator

I couldn't reproduce the issue from other PRs until I submitted a PR that has a failing status check: bchavez/Coinbase.Pro#22

Interesting, that must be why we're not getting a flood for reports.

I'm happy to report I started VS 2019 almost 25 times and I no longer get any error with the custom build! I think you have fixed the problem! Your new build is working great!

@bchavez excellent, thanks for testing it!

@rosrosros
Copy link

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

@tannenbaums
Copy link

tannenbaums commented Jun 9, 2021

Hi, I just got the latest version 2.11.102.28613 on a brand new vs install and still getting the error above.

Any help would be very much appreciated (this is on a windows 2019 machine)

image
image
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants