示例#1
0
        internal void StartPackageManager()
        {
            // ok, we're looking like we're ready to need the package manager.
            // make sure its running.
            PackageManager.Instance.ConnectAndWait("autopackage", null, 15000);

            PackageManager = PackageManager.Instance;
            PackageManager.AddFeed(Environment.CurrentDirectory,true);

            if (AutopackageMain._verbose) {
                PackageManager.SetLogging(true, true, true);
            }
        }
 private void ConnectToPackageManager()
 {
     packageManager = PackageManager.Instance;
     PackageManager.Instance.ConnectAndWait("PackageInstaller", null, 5000);
     packageManager.SetLogging(true, true, true);
 }