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); }
public static void SetCurrentDirectory(string path) => MSIOD.SetCurrentDirectory(path);
public static void SetCurrentDirectory([NotNull] DestructiveDirectoryPath directory) => D.SetCurrentDirectory(directory.FullName);
public static void SetCurrentDirectory(DirectoryPath directory) => D.SetCurrentDirectory(directory.FullName);