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

Commit 4199d06

Browse files
committed
Fix the obvious brain fart
1 parent c1c27fc commit 4199d06

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/GitHub.VisualStudio/GitHubPackage.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,12 @@ public GHClient(IProgram program)
7979
[ProvideService(typeof(IUIProvider), IsAsyncQueryable = true)]
8080
[ProvideAutoLoad(UIContextGuids.NoSolution)]
8181
[ProvideAutoLoad(UIContextGuids.SolutionExists)]
82-
[Guid(StartPagePackageId)]
82+
[Guid(ServiceProviderPackageId)]
8383
public sealed class ServiceProviderPackage : AsyncPackage
8484
{
85-
const string StartPagePackageId = "D5CE1488-DEDE-426D-9E5B-BFCCFBE33E53";
85+
const string ServiceProviderPackageId = "D5CE1488-DEDE-426D-9E5B-BFCCFBE33E53";
86+
const string StartPagePreview4PackageId = "3b764d23-faf7-486f-94c7-b3accc44a70d";
87+
8688
Version vsversion;
8789
Version VSVersion
8890
{
@@ -117,7 +119,7 @@ protected override async tasks.Task InitializeAsync(CancellationToken cancellati
117119
{
118120
var shell = await GetServiceAsync(typeof(SVsShell)) as IVsShell;
119121
IVsPackage startPagePackage;
120-
if (ErrorHandler.Failed(shell?.LoadPackage(new Guid("3b764d23-faf7-486f-94c7-b3accc44a70d"), out startPagePackage) ?? -1))
122+
if (ErrorHandler.Failed(shell?.LoadPackage(new Guid(StartPagePreview4PackageId), out startPagePackage) ?? -1))
121123
{
122124
// ¯\_(ツ)_/¯
123125
}

0 commit comments

Comments
 (0)