100 references to CreateFile
Microsoft.Build.Engine.OM.UnitTests (13)
Construction\ProjectRootElement_Tests.cs (2)
1744
initialLocation = env.
CreateFile
().Path;
1760
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;
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;
3587
var projectFilePath = _env.
CreateFile
().Path;
3600
project.FullPath = _env.
CreateFile
().Path;
4183
string project1 = _env.
CreateFile
(".proj").Path;
4184
string project2 = _env.
CreateFile
(".proj").Path;
4224
string project1 = _env.
CreateFile
(".proj").Path;
4225
string project2 = _env.
CreateFile
(".proj").Path;
4226
string project3 = _env.
CreateFile
(".proj").Path;
4266
string project1 = _env.
CreateFile
(".proj").Path;
4267
string project2 = _env.
CreateFile
(".proj").Path;
4309
string project1 = _env.
CreateFile
(".proj").Path;
4310
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)
170
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)
277
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
305
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
333
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)
306
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)
561
return env.
CreateFile
();
Instance\ProjectInstance_Internal_Tests.cs (3)
765
var file = env.
CreateFile
().Path;
897
projectRootElement.Save(testEnvironment.
CreateFile
().Path);
925
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;