SetCurrentDirectory() public static method

public static SetCurrentDirectory ( string path ) : void
path string
return void
        public static void InitializeTests(TestContext init)
        {
            var dir     = Path.GetDirectoryName(typeof(PreprocessorTests).Assembly.Location);
            var projDir = Path.GetDirectoryName(Path.GetDirectoryName(Path.GetDirectoryName(dir)));

            Directory.SetCurrentDirectory(projDir);
        }
Example #2
0
 public static void SetCurrentDirectory(string path) =>
 MSIOD.SetCurrentDirectory(path);
Example #3
0
 public static void SetCurrentDirectory([NotNull] DestructiveDirectoryPath directory)
 => D.SetCurrentDirectory(directory.FullName);
Example #4
0
 public static void SetCurrentDirectory(DirectoryPath directory)
 => D.SetCurrentDirectory(directory.FullName);