예제 #1
0
        public void Setup()
        {
            if (Directory.Exists("Services"))
            {
                Directory.Delete("Services", true);
            }

            Directory.CreateDirectory("Services");
            string bobPath = Path.Combine("Services", "bob");

            Directory.CreateDirectory(bobPath);

            DirectoryMonitor_Specs.CopyFileToDir("TopShelf.dll", bobPath);
            DirectoryMonitor_Specs.CopyFileToDir("TopShelf.Specs.dll", bobPath);
            DirectoryMonitor_Specs.CopyFileToDir("Magnum.dll", bobPath);
            DirectoryMonitor_Specs.CopyFileToDir("log4net.dll", bobPath);
        }
예제 #2
0
        public void Setup()
        {
            if (Directory.Exists("Services"))
            {
                Directory.Delete("Services", true);
            }

            Directory.CreateDirectory("Services");
            string bobPath = Path.Combine("Services", "bob");

            Directory.CreateDirectory(bobPath);

            DirectoryMonitor_Specs.CopyFileToDir("TopShelf.dll", bobPath);
            DirectoryMonitor_Specs.CopyFileToDir("TopShelf.Specs.dll", bobPath);
            DirectoryMonitor_Specs.CopyFileToDir("Magnum.dll", bobPath);
            DirectoryMonitor_Specs.CopyFileToDir("Magnum.FileSystem.dll", bobPath);
            DirectoryMonitor_Specs.CopyFileToDir("Ionic.Zip.dll", bobPath);
            DirectoryMonitor_Specs.CopyFileToDir("Newtonsoft.Json.dll", bobPath);
            DirectoryMonitor_Specs.CopyFileToDir("System.Threading.dll", bobPath);
            DirectoryMonitor_Specs.CopyFileToDir("log4net.dll", bobPath);
            DirectoryMonitor_Specs.CopyFileToDir("Stact.dll", bobPath);
            DirectoryMonitor_Specs.CopyFileToDir("Stact.serverframework.dll", bobPath);
            DirectoryMonitor_Specs.CopyFileToDir("Spark.dll", bobPath);
        }