/// <summary>
 /// Default constructor of the package.
 /// Inside this method you can place any initialization code that does not require 
 /// any Visual Studio service because at this point the package object is created but 
 /// not sited yet inside Visual Studio environment. The place to do all the other 
 /// initialization is the Initialize method.
 /// </summary>
 public FwNantVSPackagePackage()
 {
     Trace.WriteLine(string.Format(CultureInfo.CurrentCulture, "Entering constructor for: {0}", this));
     CheckForUpdates();
     m_NantBuild = new NAntBuild(this);
     m_NantBuild.BuildStatusChange += OnBuildStatusChange;
 }
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Creates a new Addin Log Listener.
 /// </summary>
 /// <param name="parent">The parent.</param>
 /// ------------------------------------------------------------------------------------
 internal AddinLogListener(NAntBuild parent)
 {
     m_Parent = parent;
 }
        protected override void Dispose(bool disposing)
        {
            if (disposing && m_NantBuild != null)
                m_NantBuild.Dispose();

            m_NantBuild = null;
            base.Dispose(disposing);
        }