100 references to CreateFile
Microsoft.Build.Engine.OM.UnitTests (13)
Construction\ProjectRootElement_Tests.cs (2)
1729
initialLocation = env.
CreateFile
().Path;
1744
reloadLocation = env.
CreateFile
().Path;
Definition\Project_Tests.cs (11)
3859
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
3902
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
3944
var importFile = env.
CreateFile
(".targets");
3946
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
3991
var importFile = env.
CreateFile
(".targets");
3993
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4034
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4074
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4117
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4162
ProjectRootElement pre1 = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4163
ProjectRootElement pre2 = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
Microsoft.Build.Engine.UnitTests (70)
BackEnd\BuildManager_Tests.cs (51)
734
string tempProject = _env.
CreateFile
(".proj").Path;
1943
string p2pProject = _env.
CreateFile
(".Project2.proj").Path;
2029
string importedProjectPath = _env.
CreateFile
(".proj").Path;
2030
string rootProjectPath = _env.
CreateFile
(".proj").Path;
2130
string fileName = _env.
CreateFile
(".proj").Path;
2198
string fileName = _env.
CreateFile
(".proj").Path;
2249
string fileName = _env.
CreateFile
(".proj").Path;
2317
var projA = _env.
CreateFile
(".proj").Path;
2318
var projB = _env.
CreateFile
(".proj").Path;
2366
var projA = _env.
CreateFile
(".proj").Path;
2367
var projB = _env.
CreateFile
(".proj").Path;
2432
var projA = _env.
CreateFile
(".proj").Path;
2433
var projB = _env.
CreateFile
(".proj").Path;
2482
var projA = _env.
CreateFile
(".proj").Path;
2483
var projB = _env.
CreateFile
(".proj").Path;
2534
var projA = _env.
CreateFile
(".proj").Path;
2535
var projB = _env.
CreateFile
(".proj").Path;
2536
var projC = _env.
CreateFile
(".proj").Path;
2537
var projD = _env.
CreateFile
(".proj").Path;
2629
var projA = _env.
CreateFile
(".proj").Path;
2630
var projB = _env.
CreateFile
(".proj").Path;
2631
var projC = _env.
CreateFile
(".proj").Path;
2708
var projA = _env.
CreateFile
(".proj").Path;
2709
var projB = _env.
CreateFile
(".proj").Path;
2710
var projC = _env.
CreateFile
(".proj").Path;
2823
var projA = _env.
CreateFile
(".proj").Path;
2824
var projB = _env.
CreateFile
(".proj").Path;
2825
var projC = _env.
CreateFile
(".proj").Path;
2909
var projA = _env.
CreateFile
(".proj").Path;
2910
var projB = _env.
CreateFile
(".proj").Path;
2911
var projC = _env.
CreateFile
(".proj").Path;
2978
var projA = _env.
CreateFile
(".proj").Path;
2979
var projB = _env.
CreateFile
(".proj").Path;
3053
var projectPath1 = _env.
CreateFile
(".proj").Path;
3058
var projectPath2 = _env.
CreateFile
(".proj").Path;
3121
var projectPath1 = _env.
CreateFile
(".proj").Path;
3136
var projectPath2 = _env.
CreateFile
(".proj").Path;
3206
string projectPath1 = _env.
CreateFile
(".proj").Path;
3221
var projectPath2 = _env.
CreateFile
(".proj").Path;
3304
string fileName = _env.
CreateFile
(".proj").Path;
3520
var projectFilePath = _env.
CreateFile
().Path;
3533
FullPath = _env.
CreateFile
().Path
4116
string project1 = _env.
CreateFile
(".proj").Path;
4117
string project2 = _env.
CreateFile
(".proj").Path;
4157
string project1 = _env.
CreateFile
(".proj").Path;
4158
string project2 = _env.
CreateFile
(".proj").Path;
4159
string project3 = _env.
CreateFile
(".proj").Path;
4199
string project1 = _env.
CreateFile
(".proj").Path;
4200
string project2 = _env.
CreateFile
(".proj").Path;
4242
string project1 = _env.
CreateFile
(".proj").Path;
4243
string project2 = _env.
CreateFile
(".proj").Path;
BackEnd\SdkResolverLoader_Tests.cs (3)
224
var assemblyToLoad = env.
CreateFile
(".dll").Path;
249
var assemblyToLoad = env.
CreateFile
(".dll").Path;
276
var assemblyToLoad = env.
CreateFile
(".dll").Path;
BackEnd\TaskBuilder_Tests.cs (1)
168
FullPath = env.
CreateFile
().Path
Construction\SolutionFile_Tests.cs (2)
276
string rptprojPath = env.
CreateFile
(".rptproj").Path;
278
string dqprojPath = env.
CreateFile
(".dwproj").Path;
Definition\Project_Internal_Tests.cs (3)
275
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
303
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
331
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
Evaluation\EvaluationLogging_Tests.cs (2)
76
var importFile = env.
CreateFile
().Path;
81
var projectFile = env.
CreateFile
().Path;
EvaluationProfiler_Tests.cs (1)
306
FullPath = _env.
CreateFile
().Path
FileLogger_Tests.cs (2)
362
var logFile = env.
CreateFile
(".log").Path;
403
var logFile = testEnvironment.
CreateFile
(".log");
Graph\IsolateProjects_Tests.cs (1)
561
return env.
CreateFile
();
Instance\ProjectInstance_Internal_Tests.cs (3)
755
var file = env.
CreateFile
().Path;
884
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
912
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
Utilities_Tests.cs (1)
82
TransientTestFile outputFile = env.
CreateFile
("tempOutput.tmp");
Microsoft.Build.Tasks.UnitTests (17)
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (3)
124
TransientTestFile file = env.
CreateFile
();
160
TransientTestFile file = env.
CreateFile
();
186
TransientTestFile file = env.
CreateFile
();
Copy_Tests.cs (9)
145
var sourceFile = env.
CreateFile
("source.txt");
169
var sourceFile = env.
CreateFile
("source.txt");
262
var sourceFile = env.
CreateFile
("source.txt");
341
var sourceFile = env.
CreateFile
("source.txt");
364
var sourceFile = env.
CreateFile
("source.txt");
388
var sourceFile = env.
CreateFile
("source.txt");
412
var sourceFile = env.
CreateFile
("source.txt");
437
var sourceFile = env.
CreateFile
("source.txt");
463
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)
2082
var resourcesFile = env.
CreateFile
(inputExtension).Path;
3678
string resxFile = env.
CreateFile
("test.resx").Path;