107 references to CreateFile
Microsoft.Build.Engine.OM.UnitTests (13)
Construction\ProjectRootElement_Tests.cs (2)
1741
initialLocation = env.
CreateFile
().Path;
1757
reloadLocation = env.
CreateFile
().Path;
Definition\Project_Tests.cs (11)
3891
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
3934
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
3976
var importFile = env.
CreateFile
(".targets");
3978
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4023
var importFile = env.
CreateFile
(".targets");
4025
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4066
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4106
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4149
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4194
ProjectRootElement pre1 = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4195
ProjectRootElement pre2 = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
Microsoft.Build.Engine.UnitTests (75)
BackEnd\BuildManager_Tests.cs (56)
740
string tempProject = _env.
CreateFile
(".proj").Path;
2008
string p2pProject = _env.
CreateFile
(".Project2.proj").Path;
2094
string importedProjectPath = _env.
CreateFile
(".proj").Path;
2095
string rootProjectPath = _env.
CreateFile
(".proj").Path;
2195
string fileName = _env.
CreateFile
(".proj").Path;
2263
string fileName = _env.
CreateFile
(".proj").Path;
2314
string fileName = _env.
CreateFile
(".proj").Path;
2382
var projA = _env.
CreateFile
(".proj").Path;
2383
var projB = _env.
CreateFile
(".proj").Path;
2431
var projA = _env.
CreateFile
(".proj").Path;
2432
var projB = _env.
CreateFile
(".proj").Path;
2497
var projA = _env.
CreateFile
(".proj").Path;
2498
var projB = _env.
CreateFile
(".proj").Path;
2547
var projA = _env.
CreateFile
(".proj").Path;
2548
var projB = _env.
CreateFile
(".proj").Path;
2599
var projA = _env.
CreateFile
(".proj").Path;
2600
var projB = _env.
CreateFile
(".proj").Path;
2601
var projC = _env.
CreateFile
(".proj").Path;
2602
var projD = _env.
CreateFile
(".proj").Path;
2694
var projA = _env.
CreateFile
(".proj").Path;
2695
var projB = _env.
CreateFile
(".proj").Path;
2696
var projC = _env.
CreateFile
(".proj").Path;
2773
var projA = _env.
CreateFile
(".proj").Path;
2774
var projB = _env.
CreateFile
(".proj").Path;
2775
var projC = _env.
CreateFile
(".proj").Path;
2888
var projA = _env.
CreateFile
(".proj").Path;
2889
var projB = _env.
CreateFile
(".proj").Path;
2890
var projC = _env.
CreateFile
(".proj").Path;
2974
var projA = _env.
CreateFile
(".proj").Path;
2975
var projB = _env.
CreateFile
(".proj").Path;
2976
var projC = _env.
CreateFile
(".proj").Path;
3043
var projA = _env.
CreateFile
(".proj").Path;
3044
var projB = _env.
CreateFile
(".proj").Path;
3118
var projectPath1 = _env.
CreateFile
(".proj").Path;
3123
var projectPath2 = _env.
CreateFile
(".proj").Path;
3186
var projectPath1 = _env.
CreateFile
(".proj").Path;
3201
var projectPath2 = _env.
CreateFile
(".proj").Path;
3271
string projectPath1 = _env.
CreateFile
(".proj").Path;
3286
var projectPath2 = _env.
CreateFile
(".proj").Path;
3369
string fileName = _env.
CreateFile
(".proj").Path;
3630
var projectFilePath = _env.
CreateFile
().Path;
3643
project.FullPath = _env.
CreateFile
().Path;
4226
string project1 = _env.
CreateFile
(".proj").Path;
4227
string project2 = _env.
CreateFile
(".proj").Path;
4267
string project1 = _env.
CreateFile
(".proj").Path;
4268
string project2 = _env.
CreateFile
(".proj").Path;
4269
string project3 = _env.
CreateFile
(".proj").Path;
4309
string project1 = _env.
CreateFile
(".proj").Path;
4310
string project2 = _env.
CreateFile
(".proj").Path;
4352
string project1 = _env.
CreateFile
(".proj").Path;
4353
string project2 = _env.
CreateFile
(".proj").Path;
4513
var sharedDep = _env.
CreateFile
(".proj").Path;
4514
var projRoot = _env.
CreateFile
(".proj").Path;
4522
childProjects[i] = _env.
CreateFile
(".proj").Path;
4662
childPaths[i] = _env.
CreateFile
(".proj").Path;
4675
string rootPath = _env.
CreateFile
(".proj").Path;
BackEnd\SdkResolverLoader_Tests.cs (3)
223
var assemblyToLoad = env.
CreateFile
(".dll").Path;
248
var assemblyToLoad = env.
CreateFile
(".dll").Path;
275
var assemblyToLoad = env.
CreateFile
(".dll").Path;
BackEnd\TaskBuilder_Tests.cs (1)
156
project.FullPath = env.
CreateFile
().Path;
Construction\SolutionFile_OldParser_Tests.cs (2)
311
string rptprojPath = env.
CreateFile
(".rptproj").Path;
313
string dqprojPath = env.
CreateFile
(".dwproj").Path;
Definition\Project_Internal_Tests.cs (3)
276
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
304
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
332
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
Evaluation\EvaluationLogging_Tests.cs (2)
77
var importFile = env.
CreateFile
().Path;
82
var projectFile = env.
CreateFile
().Path;
EvaluationProfiler_Tests.cs (1)
304
project.FullPath = _env.
CreateFile
().Path;
FileLogger_Tests.cs (2)
359
var logFile = env.
CreateFile
(".log").Path;
400
var logFile = testEnvironment.
CreateFile
(".log");
Graph\IsolateProjects_Tests.cs (1)
559
return env.
CreateFile
();
Instance\ProjectInstance_Internal_Tests.cs (3)
763
var file = env.
CreateFile
().Path;
895
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
923
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
Utilities_Tests.cs (1)
78
TransientTestFile outputFile = env.
CreateFile
("tempOutput.tmp");
Microsoft.Build.Tasks.UnitTests (19)
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (3)
125
TransientTestFile file = env.
CreateFile
();
161
TransientTestFile file = env.
CreateFile
();
187
TransientTestFile file = env.
CreateFile
();
Copy_Tests.cs (9)
140
var sourceFile = env.
CreateFile
("source.txt");
165
var sourceFile = env.
CreateFile
("source.txt");
261
var sourceFile = env.
CreateFile
("source.txt");
343
var sourceFile = env.
CreateFile
("source.txt");
367
var sourceFile = env.
CreateFile
("source.txt");
392
var sourceFile = env.
CreateFile
("source.txt");
417
var sourceFile = env.
CreateFile
("source.txt");
443
var sourceFile = env.
CreateFile
("source.txt");
470
var sourceFile = env.
CreateFile
("source.txt");
RARPrecomputedCache_Tests.cs (3)
25
TransientTestFile standardCache = env.
CreateFile
(".cache");
60
TransientTestFile standardCache = env.
CreateFile
(".cache");
111
TransientTestFile precomputedCache = env.
CreateFile
(".cache");
ResourceHandling\GenerateResource_Tests.cs (2)
2349
var resourcesFile = env.
CreateFile
(inputExtension).Path;
3945
string resxFile = env.
CreateFile
("test.resx").Path;
TaskFactoryUtilities_Tests.cs (1)
37
var tempAssemblyFile = env.
CreateFile
(".dll");
WriteLinesToFile_Tests.cs (1)
540
var outputFile = testEnv.
CreateFile
("output.txt").Path;