17 references to CreateFile
Microsoft.Build.BuildCheck.UnitTests (1)
EndToEndTests.cs (1)
948
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)
214
TransientTestFile sln = testEnvironment.
CreateFile
(folder, "Dev.sln");
233
TransientTestFile microsoftBuild = testEnvironment.
CreateFile
(src, "Microsoft.Build.csproj");
234
TransientTestFile msbuild = testEnvironment.
CreateFile
(src, "MSBuild.csproj");
235
TransientTestFile commandLineUnitTests = testEnvironment.
CreateFile
(src, "Microsoft.Build.CommandLine.UnitTests.csproj");
236
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);