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