100 references to CreateFile
Microsoft.Build.Engine.OM.UnitTests (13)
Construction\ProjectRootElement_Tests.cs (2)
1744initialLocation = env.CreateFile().Path; 1760reloadLocation = env.CreateFile().Path;
Definition\Project_Tests.cs (11)
3892ProjectRootElement pre = ProjectRootElement.Create(env.CreateFile(".proj").Path); 3935ProjectRootElement pre = ProjectRootElement.Create(env.CreateFile(".proj").Path); 3977var importFile = env.CreateFile(".targets"); 3979ProjectRootElement pre = ProjectRootElement.Create(env.CreateFile(".proj").Path); 4024var importFile = env.CreateFile(".targets"); 4026ProjectRootElement pre = ProjectRootElement.Create(env.CreateFile(".proj").Path); 4067ProjectRootElement pre = ProjectRootElement.Create(env.CreateFile(".proj").Path); 4107ProjectRootElement pre = ProjectRootElement.Create(env.CreateFile(".proj").Path); 4150ProjectRootElement pre = ProjectRootElement.Create(env.CreateFile(".proj").Path); 4195ProjectRootElement pre1 = ProjectRootElement.Create(env.CreateFile(".proj").Path); 4196ProjectRootElement pre2 = ProjectRootElement.Create(env.CreateFile(".proj").Path);
Microsoft.Build.Engine.UnitTests (70)
BackEnd\BuildManager_Tests.cs (51)
741string tempProject = _env.CreateFile(".proj").Path; 2008string p2pProject = _env.CreateFile(".Project2.proj").Path; 2094string importedProjectPath = _env.CreateFile(".proj").Path; 2095string rootProjectPath = _env.CreateFile(".proj").Path; 2195string fileName = _env.CreateFile(".proj").Path; 2263string fileName = _env.CreateFile(".proj").Path; 2314string fileName = _env.CreateFile(".proj").Path; 2382var projA = _env.CreateFile(".proj").Path; 2383var projB = _env.CreateFile(".proj").Path; 2431var projA = _env.CreateFile(".proj").Path; 2432var projB = _env.CreateFile(".proj").Path; 2497var projA = _env.CreateFile(".proj").Path; 2498var projB = _env.CreateFile(".proj").Path; 2547var projA = _env.CreateFile(".proj").Path; 2548var projB = _env.CreateFile(".proj").Path; 2599var projA = _env.CreateFile(".proj").Path; 2600var projB = _env.CreateFile(".proj").Path; 2601var projC = _env.CreateFile(".proj").Path; 2602var projD = _env.CreateFile(".proj").Path; 2694var projA = _env.CreateFile(".proj").Path; 2695var projB = _env.CreateFile(".proj").Path; 2696var projC = _env.CreateFile(".proj").Path; 2773var projA = _env.CreateFile(".proj").Path; 2774var projB = _env.CreateFile(".proj").Path; 2775var projC = _env.CreateFile(".proj").Path; 2888var projA = _env.CreateFile(".proj").Path; 2889var projB = _env.CreateFile(".proj").Path; 2890var projC = _env.CreateFile(".proj").Path; 2974var projA = _env.CreateFile(".proj").Path; 2975var projB = _env.CreateFile(".proj").Path; 2976var projC = _env.CreateFile(".proj").Path; 3043var projA = _env.CreateFile(".proj").Path; 3044var projB = _env.CreateFile(".proj").Path; 3118var projectPath1 = _env.CreateFile(".proj").Path; 3123var projectPath2 = _env.CreateFile(".proj").Path; 3186var projectPath1 = _env.CreateFile(".proj").Path; 3201var projectPath2 = _env.CreateFile(".proj").Path; 3271string projectPath1 = _env.CreateFile(".proj").Path; 3286var projectPath2 = _env.CreateFile(".proj").Path; 3369string fileName = _env.CreateFile(".proj").Path; 3587var projectFilePath = _env.CreateFile().Path; 3600project.FullPath = _env.CreateFile().Path; 4183string project1 = _env.CreateFile(".proj").Path; 4184string project2 = _env.CreateFile(".proj").Path; 4224string project1 = _env.CreateFile(".proj").Path; 4225string project2 = _env.CreateFile(".proj").Path; 4226string project3 = _env.CreateFile(".proj").Path; 4266string project1 = _env.CreateFile(".proj").Path; 4267string project2 = _env.CreateFile(".proj").Path; 4309string project1 = _env.CreateFile(".proj").Path; 4310string project2 = _env.CreateFile(".proj").Path;
BackEnd\SdkResolverLoader_Tests.cs (3)
224var assemblyToLoad = env.CreateFile(".dll").Path; 249var assemblyToLoad = env.CreateFile(".dll").Path; 276var assemblyToLoad = env.CreateFile(".dll").Path;
BackEnd\TaskBuilder_Tests.cs (1)
170project.FullPath = env.CreateFile().Path;
Construction\SolutionFile_OldParser_Tests.cs (2)
313string rptprojPath = env.CreateFile(".rptproj").Path; 315string dqprojPath = env.CreateFile(".dwproj").Path;
Definition\Project_Internal_Tests.cs (3)
277projectRootElement.Save(testEnvironment.CreateFile().Path); 305projectRootElement.Save(testEnvironment.CreateFile().Path); 333projectRootElement.Save(testEnvironment.CreateFile().Path);
Evaluation\EvaluationLogging_Tests.cs (2)
77var importFile = env.CreateFile().Path; 82var projectFile = env.CreateFile().Path;
EvaluationProfiler_Tests.cs (1)
306project.FullPath = _env.CreateFile().Path;
FileLogger_Tests.cs (2)
362var logFile = env.CreateFile(".log").Path; 403var logFile = testEnvironment.CreateFile(".log");
Graph\IsolateProjects_Tests.cs (1)
561return env.CreateFile();
Instance\ProjectInstance_Internal_Tests.cs (3)
765var file = env.CreateFile().Path; 897projectRootElement.Save(testEnvironment.CreateFile().Path); 925projectRootElement.Save(testEnvironment.CreateFile().Path);
Utilities_Tests.cs (1)
82TransientTestFile outputFile = env.CreateFile("tempOutput.tmp");
Microsoft.Build.Tasks.UnitTests (17)
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (3)
124TransientTestFile file = env.CreateFile(); 160TransientTestFile file = env.CreateFile(); 186TransientTestFile file = env.CreateFile();
Copy_Tests.cs (9)
145var sourceFile = env.CreateFile("source.txt"); 169var sourceFile = env.CreateFile("source.txt"); 262var sourceFile = env.CreateFile("source.txt"); 341var sourceFile = env.CreateFile("source.txt"); 364var sourceFile = env.CreateFile("source.txt"); 388var sourceFile = env.CreateFile("source.txt"); 412var sourceFile = env.CreateFile("source.txt"); 437var sourceFile = env.CreateFile("source.txt"); 463var sourceFile = env.CreateFile("source.txt");
RARPrecomputedCache_Tests.cs (3)
25TransientTestFile standardCache = env.CreateFile(".cache"); 60TransientTestFile standardCache = env.CreateFile(".cache"); 111TransientTestFile precomputedCache = env.CreateFile(".cache");
ResourceHandling\GenerateResource_Tests.cs (2)
2082var resourcesFile = env.CreateFile(inputExtension).Path; 3678string resxFile = env.CreateFile("test.resx").Path;