51 references to CreateDirectory
Microsoft.Build.Engine.UnitTests (34)
BinaryLogger_Tests.cs (2)
476TransientTestFolder testFolder = _env.DefaultTestDirectory.CreateDirectory("TestDir"); 477TransientTestFolder testFolder2 = _env.DefaultTestDirectory.CreateDirectory("TestDir2");
Definition\ProjectEvaluationContext_Tests.cs (22)
431var projectDirectory1 = _env.DefaultTestDirectory.CreateDirectory("1").Path; 432var projectDirectory2 = _env.DefaultTestDirectory.CreateDirectory("2").Path; 481var project1Root = _env.DefaultTestDirectory.CreateDirectory("Project1"); 482var project1Directory = project1Root.CreateDirectory("1").Path; 483var project1GlobDirectory = project1Root.CreateDirectory("Glob").CreateDirectory("1").Path; 485var project2Root = _env.DefaultTestDirectory.CreateDirectory("Project2"); 486var project2Directory = project2Root.CreateDirectory("2").Path; 487var project2GlobDirectory = project2Root.CreateDirectory("Glob").CreateDirectory("2").Path; 546var project1Directory = _env.DefaultTestDirectory.CreateDirectory("Project1"); 547var project1GlobDirectory = project1Directory.CreateDirectory("Glob").CreateDirectory("1").Path; 549var project2Directory = _env.DefaultTestDirectory.CreateDirectory("Project2"); 608var globDirectory = _env.DefaultTestDirectory.CreateDirectory("glob"); 610var projectRoot = _env.DefaultTestDirectory.CreateDirectory("proj"); 612var project1Directory = projectRoot.CreateDirectory("Project1"); 614var project2SubDir = projectRoot.CreateDirectory("subdirectory"); 616var project2Directory = project2SubDir.CreateDirectory("Project2"); 683var globDirectory = testDirectory.CreateDirectory("GlobDirectory"); 851var subdirectory = _env.DefaultTestDirectory.CreateDirectory("subDirectory"); 907var subdirectory = _env.DefaultTestDirectory.CreateDirectory("subDirectory");
Evaluation\Expander_Tests.cs (10)
4782var alpha = root.CreateDirectory("alpha"); 4795var beta = alpha.CreateDirectory("beta"); 4796var gamma = alpha.CreateDirectory("gamma"); 4826var alpha = root.CreateDirectory("alpha"); 4839var beta = alpha.CreateDirectory("beta"); 4840var gamma = root.CreateDirectory("gamma"); 4914var alpha = root.CreateDirectory("alpha"); 4955var alpha = root.CreateDirectory("alpha"); 4956var beta = alpha.CreateDirectory("beta"); 4957var delta = alpha.CreateDirectory("delta");
Microsoft.Build.Tasks.UnitTests (17)
Copy_Tests.cs (10)
194var s0Folder = env.DefaultTestDirectory.CreateDirectory("source0"); 197var s0AFolder = s0Folder.CreateDirectory("a"); 200_ = s0Folder.CreateDirectory("b"); 201var s0CFolder = s0Folder.CreateDirectory("c"); 204var s1Folder = env.DefaultTestDirectory.CreateDirectory("source1"); 207var s1AFolder = s1Folder.CreateDirectory("a"); 210var s1BFolder = s1Folder.CreateDirectory("b"); 263var sourceFolder = env.DefaultTestDirectory.CreateDirectory("source"); 265var aDirectory = sourceFolder.CreateDirectory("a"); 267sourceFolder.CreateDirectory("b");
CreateCSharpManifestResourceName_Tests.cs (1)
456var subfolder = env.DefaultTestDirectory.CreateDirectory("SR1");
HintPathResolver_Tests.cs (1)
43var tempfolder = _env.DefaultTestDirectory.CreateDirectory("tempfolder_for_CanResolveLongHintPath");
ResourceHandling\MSBuildResXReader_Tests.cs (2)
159var resourceHandlingFolder = baseDir.CreateDirectory("ResourceHandling"); 294var resourceHandlingFolder = baseDir.CreateDirectory("ResourceHandling");
Unzip_Tests.cs (3)
115TransientTestFolder emptyDir = source.CreateDirectory("emptyDir"); 116TransientTestFolder subDir = source.CreateDirectory("subDir"); 312TransientTestFolder sub = source.CreateDirectory("sub");