diff --git a/src/Integration.Vsix/SonarLintIntegrationPackage.cs b/src/Integration.Vsix/SonarLintIntegrationPackage.cs index 44e643bc3..4b927ba42 100644 --- a/src/Integration.Vsix/SonarLintIntegrationPackage.cs +++ b/src/Integration.Vsix/SonarLintIntegrationPackage.cs @@ -46,11 +46,9 @@ namespace SonarLint.VisualStudio.Integration.Vsix [ProvideOptionPage(typeof(GeneralOptionsDialogPage), "SonarQube for Visual Studio", GeneralOptionsDialogPage.PageName, 901, 902, false, 903)] [ProvideOptionPage(typeof(OtherOptionsDialogPage), "SonarQube for Visual Studio", OtherOptionsDialogPage.PageName, 901, 904, true)] [ProvideUIContextRule(CommonGuids.PackageActivation, "SonarLintIntegrationPackageActivation", - "(HasCSProj | HasVBProj)", - new string[] { "HasCSProj", - "HasVBProj" }, - new string[] { "SolutionHasProjectCapability:CSharp", - "SolutionHasProjectCapability:VB" } + "(HasCSProj | HasVBProj)", + new string[] { "HasCSProj", "HasVBProj" }, + new string[] { "SolutionHasProjectCapability:CSharp", "SolutionHasProjectCapability:VB" } )] [SuppressMessage("Reliability", "S2931:Classes with \"IDisposable\" members should implement \"IDisposable\"", @@ -87,7 +85,6 @@ private async Task InitOnUIThreadAsync() IServiceProvider serviceProvider = this; - this.commandManager = new PackageCommandManager(serviceProvider.GetService()); this.commandManager.Initialize(