100 references to CreateFile
Microsoft.Build.Engine.OM.UnitTests (13)
Construction\ProjectRootElement_Tests.cs (2)
1740
initialLocation = env.
CreateFile
().Path;
1756
reloadLocation = env.
CreateFile
().Path;
Definition\Project_Tests.cs (11)
3892
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
3935
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
3977
var importFile = env.
CreateFile
(".targets");
3979
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4024
var importFile = env.
CreateFile
(".targets");
4026
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4067
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4107
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4150
ProjectRootElement pre = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4195
ProjectRootElement pre1 = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
4196
ProjectRootElement pre2 = ProjectRootElement.Create(env.
CreateFile
(".proj").Path);
Microsoft.Build.Engine.UnitTests (70)
BackEnd\BuildManager_Tests.cs (51)
740
string tempProject = _env.
CreateFile
(".proj").Path;
2007
string p2pProject = _env.
CreateFile
(".Project2.proj").Path;
2093
string importedProjectPath = _env.
CreateFile
(".proj").Path;
2094
string rootProjectPath = _env.
CreateFile
(".proj").Path;
2194
string fileName = _env.
CreateFile
(".proj").Path;
2262
string fileName = _env.
CreateFile
(".proj").Path;
2313
string fileName = _env.
CreateFile
(".proj").Path;
2381
var projA = _env.
CreateFile
(".proj").Path;
2382
var projB = _env.
CreateFile
(".proj").Path;
2430
var projA = _env.
CreateFile
(".proj").Path;
2431
var projB = _env.
CreateFile
(".proj").Path;
2496
var projA = _env.
CreateFile
(".proj").Path;
2497
var projB = _env.
CreateFile
(".proj").Path;
2546
var projA = _env.
CreateFile
(".proj").Path;
2547
var projB = _env.
CreateFile
(".proj").Path;
2598
var projA = _env.
CreateFile
(".proj").Path;
2599
var projB = _env.
CreateFile
(".proj").Path;
2600
var projC = _env.
CreateFile
(".proj").Path;
2601
var projD = _env.
CreateFile
(".proj").Path;
2693
var projA = _env.
CreateFile
(".proj").Path;
2694
var projB = _env.
CreateFile
(".proj").Path;
2695
var projC = _env.
CreateFile
(".proj").Path;
2772
var projA = _env.
CreateFile
(".proj").Path;
2773
var projB = _env.
CreateFile
(".proj").Path;
2774
var projC = _env.
CreateFile
(".proj").Path;
2887
var projA = _env.
CreateFile
(".proj").Path;
2888
var projB = _env.
CreateFile
(".proj").Path;
2889
var projC = _env.
CreateFile
(".proj").Path;
2973
var projA = _env.
CreateFile
(".proj").Path;
2974
var projB = _env.
CreateFile
(".proj").Path;
2975
var projC = _env.
CreateFile
(".proj").Path;
3042
var projA = _env.
CreateFile
(".proj").Path;
3043
var projB = _env.
CreateFile
(".proj").Path;
3117
var projectPath1 = _env.
CreateFile
(".proj").Path;
3122
var projectPath2 = _env.
CreateFile
(".proj").Path;
3185
var projectPath1 = _env.
CreateFile
(".proj").Path;
3200
var projectPath2 = _env.
CreateFile
(".proj").Path;
3270
string projectPath1 = _env.
CreateFile
(".proj").Path;
3285
var projectPath2 = _env.
CreateFile
(".proj").Path;
3368
string fileName = _env.
CreateFile
(".proj").Path;
3586
var projectFilePath = _env.
CreateFile
().Path;
3599
project.FullPath = _env.
CreateFile
().Path;
4182
string project1 = _env.
CreateFile
(".proj").Path;
4183
string project2 = _env.
CreateFile
(".proj").Path;
4223
string project1 = _env.
CreateFile
(".proj").Path;
4224
string project2 = _env.
CreateFile
(".proj").Path;
4225
string project3 = _env.
CreateFile
(".proj").Path;
4265
string project1 = _env.
CreateFile
(".proj").Path;
4266
string project2 = _env.
CreateFile
(".proj").Path;
4308
string project1 = _env.
CreateFile
(".proj").Path;
4309
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)
169
project.FullPath = env.
CreateFile
().Path;
Construction\SolutionFile_OldParser_Tests.cs (2)
313
string rptprojPath = env.
CreateFile
(".rptproj").Path;
315
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)
305
project.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)
560
return env.
CreateFile
();
Instance\ProjectInstance_Internal_Tests.cs (3)
764
var file = env.
CreateFile
().Path;
896
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
924
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)
140
var sourceFile = env.
CreateFile
("source.txt");
164
var sourceFile = env.
CreateFile
("source.txt");
257
var sourceFile = env.
CreateFile
("source.txt");
336
var sourceFile = env.
CreateFile
("source.txt");
359
var sourceFile = env.
CreateFile
("source.txt");
383
var sourceFile = env.
CreateFile
("source.txt");
407
var sourceFile = env.
CreateFile
("source.txt");
432
var sourceFile = env.
CreateFile
("source.txt");
458
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)
2080
var resourcesFile = env.
CreateFile
(inputExtension).Path;
3676
string resxFile = env.
CreateFile
("test.resx").Path;