protected override async Tasks.Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress) { await base.InitializeAsync(cancellationToken, progress); await ViewStartPagePlus.InstantiateAsync(this); await StartPagePlusOptions.InstantiateAsync(this); //await JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); }
protected override async Tasks.Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress) { await base.InitializeAsync(cancellationToken, progress); await ViewStartPagePlus.InstantiateAsync(this); await StartPagePlusOptions.InstantiateAsync(this); this.SolutionEvents = Dte.Events.SolutionEvents; SolutionEvents.Opened += OnSolutionOpened; SolutionEvents.AfterClosing += SolutionEventsOnAfterClosing; }