protected ProjectBuilder CreateDllBuilder(string directory = null, bool cleanupAfterSuccessfulBuild = false, bool cleanupOnDispose = false) { if (string.IsNullOrEmpty(directory)) { directory = Path.Combine("temp", TestName); } TestOutputDirectories [TestContext.CurrentContext.Test.ID] = Path.Combine(Root, directory); return(BuildHelper.CreateDllBuilder(directory, cleanupAfterSuccessfulBuild, cleanupOnDispose)); }
protected ProjectBuilder CreateDllBuilder(string directory, bool cleanupAfterSuccessfulBuild = false, bool cleanupOnDispose = false) { TestOutputDirectories [TestContext.CurrentContext.Test.ID] = Path.Combine(Root, directory); return(BuildHelper.CreateDllBuilder(directory, cleanupAfterSuccessfulBuild, cleanupOnDispose)); }
protected ProjectBuilder CreateDllBuilder(string directory, bool cleanupAfterSuccessfulBuild = false, bool cleanupOnDispose = true) { TestContext.CurrentContext.Test.Properties ["Output"] = new string [] { Path.Combine(Root, directory) }; return(BuildHelper.CreateDllBuilder(directory, cleanupAfterSuccessfulBuild, cleanupOnDispose)); }