/// <summary>
        /// Initialization of the package; this method is called right after the package is sited, so this is the place
        /// where you can put all the initialization code that rely on services provided by VisualStudio.
        /// </summary>
        protected override void Initialize()
        {
            FASTBuild.Initialize(this);
            base.Initialize();

            m_dte = (DTE2)GetService(typeof(DTE));
            OutputWindow outputWindow = m_dte.ToolWindows.OutputWindow;

            const string BUILD_OUTPUT_PANE_GUID = "{1BD8A850-02D1-11D1-BEE7-00A0C913D1F8}";

            foreach (OutputWindowPane pane in outputWindow.OutputWindowPanes)
            {
                if (pane.Guid.ToUpper() == BUILD_OUTPUT_PANE_GUID)
                {
                    m_outputPane = pane;
                    break;
                }
            }

            if (m_outputPane == null)
            {
                m_outputPane = outputWindow.OutputWindowPanes.Add("FASTBuild");
            }
            m_outputPane.OutputString("FASTBuild\r");
        }
        /// <summary>
        /// Initialization of the package; this method is called right after the package is sited, so this is the place
        /// where you can put all the initialization code that rely on services provided by VisualStudio.
        /// </summary>
        protected override void Initialize()
        {
            FASTBuild.Initialize(this);
            base.Initialize();

            m_dte = (DTE2)GetService(typeof(DTE));
            OutputWindow outputWindow = m_dte.ToolWindows.OutputWindow;

            m_outputPane = outputWindow.OutputWindowPanes.Add("FASTBuild");
            m_outputPane.OutputString("FASTBuild\r");
        }
Beispiel #3
0
 /// <summary>
 /// Initializes the singleton instance of the command.
 /// </summary>
 /// <param name="package">Owner package, not null.</param>
 public static void Initialize(Package package)
 {
     Instance = new FASTBuild(package);
 }