protected override async Tasks.Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress)
 {
     if (await GetServiceAsync(typeof(IMenuCommandService)) is OleMenuCommandService commandService)
     {
         //InstallLibraryCommand.Initialize(this, commandService);
         CleanCommand.Initialize(this, commandService);
         RestoreCommand.Initialize(this, commandService);
         RestoreSolutionCommand.Initialize(this, commandService);
         RestoreOnBuildCommand.Initialize(this, commandService);
         ManageLibrariesCommand.Initialize(this, commandService);
     }
 }
Exemple #2
0
 public static void Initialize(Package package, OleMenuCommandService commandService)
 {
     Instance = new RestoreSolutionCommand(package, commandService);
 }