9 references to CreateTestProjectWithFiles
Microsoft.Build.CommandLine.UnitTests (1)
CommandLineSwitches_Tests.cs (1)
1525
string project = testEnvironment.
CreateTestProjectWithFiles
("project.proj", projectContent).ProjectFile;
Microsoft.Build.Engine.UnitTests (3)
BinaryLogger_Tests.cs (2)
581
var referenceProject = _env.
CreateTestProjectWithFiles
("reference.proj", @"
588
var entryProject = _env.
CreateTestProjectWithFiles
("entry.proj", $@"
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (1)
866
string mainProjectPath = testEnvironment.
CreateTestProjectWithFiles
("main.proj", mainTargetsFileContent).ProjectFile;
Microsoft.Build.Tasks.UnitTests (4)
ResourceManagement_Tests.cs (1)
147
var projectFile = env.
CreateTestProjectWithFiles
("test.proj", text);
RoslynCodeTaskFactory_Tests.cs (3)
203
var p2 = env.
CreateTestProjectWithFiles
("p2.proj", text2);
205
var p1 = env.
CreateTestProjectWithFiles
("p1.proj", text1);
759
var project = env.
CreateTestProjectWithFiles
("p1.proj", text);
Microsoft.Build.UnitTests.Shared (1)
EngineTestEnvironment.cs (1)
106
=>
CreateTestProjectWithFiles
("build.proj", projectContents, files, relativePathFromRootToProject);