protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress)
        {
            await ProjectHelpers.InitializeAsync(this);

            await Logger.InitializeAsync(this, Vsix.Name);

            await JoinableTaskFactory.SwitchToMainThreadAsync();

            _options = (Options)GetDialogPage(typeof(Options));

            // VSCT
            AddCustomToolCommand.Initialize(this);

            // Misc
            SignBinaryCommand.Initialize(this);
            ShowProjectInformation.Initialize(this);
            ExportImageMoniker.Initialize(this);
            SwatchesWindowCommand.Initialize(this);
            ShowActivityLog.Initialize(this);
            ToggleVsipLogging.Initialize(this);

            // Solution node
            PrepareForGitHub.Initialize(this);
            PrepareForAppVeyor.Initialize(this);

            // Vsix Manifest
            AddResxGeneratorCommand.Initialize(this);

            // Image Manifest
            AddImageManifestCommand.Initialize(this);

            // SDK Analyzers
            await PromptForAnalyzers.InitializeAsync(this);
        }
Esempio n. 2
0
        protected override void Initialize()
        {
            Options = (Options)GetDialogPage(typeof(Options));

            Logger.Initialize(this, Vsix.Name);
            ProjectHelpers.Initialize(this);

            // VSCT
            AddCustomToolCommand.Initialize(this);

            // Misc
            SignBinaryCommand.Initialize(this);
            ShowProjectInformation.Initialize(this);
            ExportImageMoniker.Initialize(this);
            SwatchesWindowCommand.Initialize(this);
            ShowActivityLog.Initialize(this);
            ToggleVsipLogging.Initialize(this);

            // Solution node
            PrepareForGitHub.Initialize(this);
            PrepareForAppVeyor.Initialize(this);

            // Vsix Manifest
            AddResxGeneratorCommand.Initialize(this);

            // Image Manifest
            AddImageManifestCommand.Initialize(this);

            base.Initialize();
        }
        protected override void Initialize()
        {
            Options = (ExtensibilityOptions)GetDialogPage(typeof(ExtensibilityOptions));

            AddCustomToolCommand.Initialize(this);
            SignBinaryCommand.Initialize(this);

            base.Initialize();
        }
Esempio n. 4
0
        protected override void Initialize()
        {
            Options = (ExtensibilityOptions)GetDialogPage(typeof(ExtensibilityOptions));

            AddCustomToolCommand.Initialize(this);
            SignBinaryCommand.Initialize(this);
            ShowProjectInformation.Initialize(this);
            ExportImageMoniker.Initialize(this);

            base.Initialize();
        }