This repository was archived by the owner on Jun 21, 2023. It is now read-only.
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Extension sometimes doesn't activate on GitHub repository #1924
Closed
Description
Version
- GitHub Extension for Visual Studio version: 2017
- Visual Studio version: 2.5.6
What happened
Steps to Reproduce
- Close Visual Studio
- Ensure that GitHub and Team Explorer panes aren't visible
- Close Visual Studio
- Open a .sln file that's in a GitHub repository with Visual Studio 2017
- Check Team Explorer and GitHub pane
Expected behavior: [What you expect to happen]
Repository appears at top of Team Explorer pane, PR list is visible on GitHub pane and PR icon appears on status bar.
Actual behavior: [What actually happens]
GitHub extension isn't active, repository isn't visible on Team Explorer/GitHub pane or and no PR icon on status bar.
Screenshot or GIF:
Log file:
2018-09-18 12:31:43.190 [11904] DBUG [129] VSGitExt ActiveRepositories changed to ["https://github.com/github/VisualStudio"]
2018-09-18 12:31:43.251 [11904] DBUG [81] TeamExplorerContext Fire StatusChanged event when TrackedSha changes for ActiveRepository
2018-09-18 14:16:21.656 [01528] DBUG [18] VSGitExt ActiveRepositories changed to []
2018-09-18 14:16:50.638 [01528] INFO [01] GitHubPackage Initializing GitHub Extension v2.5.6.0 in Microsoft Visual Studio 2017 (15.8.28010.2026)
2018-09-18 14:16:50.641 [01528] INFO [01] LogManager Set Logging Level: "Verbose"
2018-09-18 14:16:51.551 [01528] DBUG [01] GitHubPaneViewModel UpdateContent called with null
2018-09-18 14:16:51.570 [01528] DBUG [01] GitHubPaneViewModel Not a git repository: null
!!!! LONG DELAY !!!
!!!! I opened a file in the solution and made a change. Extension appears to wake up.!!!!
2018-09-18 14:19:23.324 [01528] DBUG [42] VSGitExt IGitExt.ActiveRepositories (#12710347) returned ["C:\\Source\\github.com\\github\\VisualStudio"]
2018-09-18 14:19:23.400 [01528] DBUG [42] VSGitExt ActiveRepositories changed to ["https://github.com/github/VisualStudio"]
2018-09-18 14:19:23.838 [01528] DBUG [54] TeamExplorerContext ActiveRepository changed to https://github.com/github/VisualStudio @ C:\Source\github.com\github\VisualStudio
2018-09-18 14:19:23.930 [01528] DBUG [01] GitHubPaneViewModel UpdateContent called with https://github.com/github/VisualStudio
2018-09-18 14:19:25.759 [01528] DBUG [01] GitHubPaneViewModel Found a GitHub repository: https://github.com/github/VisualStudio
2018-09-18 14:19:26.094 [01528] VERB [42] UsageTracker Increment counter NumberOfStartups
2018-09-18 14:19:26.610 [01528] DBUG [01] SequentialListSource`2 Loading page 0 of GitHub.Models.PullRequestListItemModel