17 references to CreateFile
Microsoft.Build.BuildCheck.UnitTests (1)
EndToEndTests.cs (1)
948TransientTestFile testFile = _env.CreateFile(workFolder, "somefile");
Microsoft.Build.Engine.UnitTests (10)
BackEnd\BuildManager_Tests.cs (1)
1877string projectFile = _env.CreateFile(projectFolder, ".proj").Path;
BackEnd\IntrinsicTask_Tests.cs (2)
2528var file1 = env.CreateFile(projectDirectory).Path; 2529var file2 = env.CreateFile(projectDirectory).Path;
Construction\SolutionFilter_Tests.cs (5)
214TransientTestFile sln = testEnvironment.CreateFile(folder, "Dev.sln"); 233TransientTestFile microsoftBuild = testEnvironment.CreateFile(src, "Microsoft.Build.csproj"); 234TransientTestFile msbuild = testEnvironment.CreateFile(src, "MSBuild.csproj"); 235TransientTestFile commandLineUnitTests = testEnvironment.CreateFile(src, "Microsoft.Build.CommandLine.UnitTests.csproj"); 236TransientTestFile tasksUnitTests = testEnvironment.CreateFile(src, "Microsoft.Build.Tasks.UnitTests.csproj");
Evaluation\Expander_Tests.cs (1)
5175var dummyAssemblyFile = env.CreateFile(env.CreateFolder(), "test.dll");
FileMatcher_Tests.cs (1)
79TransientTestFile file = _env.CreateFile(testFolder, "Foo.cs");
Microsoft.Build.Tasks.UnitTests (6)
GenerateBindingRedirects_Tests.cs (1)
354string appConfigFile = _env.CreateFile(transientTestFolder ?? new TransientTestFolder(), ".config").Path;
ResourceHandling\GenerateResource_Tests.cs (5)
325string resxFileInput = Utilities.WriteTestResX(false, null, null, _env.CreateFile(folder, ".resx").Path); 371string resxFileInput = Utilities.WriteTestResX(false, null, null, _env.CreateFile(folder, ".resx").Path); 455string resxFileInput = Utilities.WriteTestResX(false, null, null, _env.CreateFile(folder, ".resx").Path); 677var firstResx = Utilities.WriteTestResX(false, null, null, _env.CreateFile(folder, ".resx").Path); 678var secondResx = Utilities.WriteTestResX(false, null, null, _env.CreateFile(folder, ".resx").Path);