102 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)
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)
741
string tempProject = _env.
CreateFile
(".proj").Path;
2009
string p2pProject = _env.
CreateFile
(".Project2.proj").Path;
2095
string importedProjectPath = _env.
CreateFile
(".proj").Path;
2096
string rootProjectPath = _env.
CreateFile
(".proj").Path;
2196
string fileName = _env.
CreateFile
(".proj").Path;
2264
string fileName = _env.
CreateFile
(".proj").Path;
2315
string fileName = _env.
CreateFile
(".proj").Path;
2383
var projA = _env.
CreateFile
(".proj").Path;
2384
var projB = _env.
CreateFile
(".proj").Path;
2432
var projA = _env.
CreateFile
(".proj").Path;
2433
var projB = _env.
CreateFile
(".proj").Path;
2498
var projA = _env.
CreateFile
(".proj").Path;
2499
var projB = _env.
CreateFile
(".proj").Path;
2548
var projA = _env.
CreateFile
(".proj").Path;
2549
var projB = _env.
CreateFile
(".proj").Path;
2600
var projA = _env.
CreateFile
(".proj").Path;
2601
var projB = _env.
CreateFile
(".proj").Path;
2602
var projC = _env.
CreateFile
(".proj").Path;
2603
var projD = _env.
CreateFile
(".proj").Path;
2695
var projA = _env.
CreateFile
(".proj").Path;
2696
var projB = _env.
CreateFile
(".proj").Path;
2697
var projC = _env.
CreateFile
(".proj").Path;
2774
var projA = _env.
CreateFile
(".proj").Path;
2775
var projB = _env.
CreateFile
(".proj").Path;
2776
var projC = _env.
CreateFile
(".proj").Path;
2889
var projA = _env.
CreateFile
(".proj").Path;
2890
var projB = _env.
CreateFile
(".proj").Path;
2891
var projC = _env.
CreateFile
(".proj").Path;
2975
var projA = _env.
CreateFile
(".proj").Path;
2976
var projB = _env.
CreateFile
(".proj").Path;
2977
var projC = _env.
CreateFile
(".proj").Path;
3044
var projA = _env.
CreateFile
(".proj").Path;
3045
var projB = _env.
CreateFile
(".proj").Path;
3119
var projectPath1 = _env.
CreateFile
(".proj").Path;
3124
var projectPath2 = _env.
CreateFile
(".proj").Path;
3187
var projectPath1 = _env.
CreateFile
(".proj").Path;
3202
var projectPath2 = _env.
CreateFile
(".proj").Path;
3272
string projectPath1 = _env.
CreateFile
(".proj").Path;
3287
var projectPath2 = _env.
CreateFile
(".proj").Path;
3370
string fileName = _env.
CreateFile
(".proj").Path;
3631
var projectFilePath = _env.
CreateFile
().Path;
3644
project.FullPath = _env.
CreateFile
().Path;
4227
string project1 = _env.
CreateFile
(".proj").Path;
4228
string project2 = _env.
CreateFile
(".proj").Path;
4268
string project1 = _env.
CreateFile
(".proj").Path;
4269
string project2 = _env.
CreateFile
(".proj").Path;
4270
string project3 = _env.
CreateFile
(".proj").Path;
4310
string project1 = _env.
CreateFile
(".proj").Path;
4311
string project2 = _env.
CreateFile
(".proj").Path;
4353
string project1 = _env.
CreateFile
(".proj").Path;
4354
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)
157
project.FullPath = env.
CreateFile
().Path;
Construction\SolutionFile_OldParser_Tests.cs (2)
312
string rptprojPath = env.
CreateFile
(".rptproj").Path;
314
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)
359
var logFile = env.
CreateFile
(".log").Path;
400
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)
79
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)
145
var sourceFile = env.
CreateFile
("source.txt");
170
var sourceFile = env.
CreateFile
("source.txt");
266
var sourceFile = env.
CreateFile
("source.txt");
348
var sourceFile = env.
CreateFile
("source.txt");
372
var sourceFile = env.
CreateFile
("source.txt");
397
var sourceFile = env.
CreateFile
("source.txt");
422
var sourceFile = env.
CreateFile
("source.txt");
448
var sourceFile = env.
CreateFile
("source.txt");
475
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)
2350
var resourcesFile = env.
CreateFile
(inputExtension).Path;
3946
string resxFile = env.
CreateFile
("test.resx").Path;
TaskFactoryUtilities_Tests.cs (1)
37
var tempAssemblyFile = env.
CreateFile
(".dll");
WriteLinesToFile_Tests.cs (1)
541
var outputFile = testEnv.
CreateFile
("output.txt").Path;