14 references to BuildProjectFile
Microsoft.Build.Engine.UnitTests (14)
BackEnd\BuildManager_Tests.cs (1)
990
var result = buildManagerSession.
BuildProjectFile
(_env.CreateFile("build.proj", contents).Path);
BackEnd\TargetBuilder_Tests.cs (1)
273
var result = buildSession.
BuildProjectFile
(files.ProjectFile);
Graph\IsolateProjects_Tests.cs (6)
544
buildManagerSession.
BuildProjectFile
(declaredReferenceFile, new[] { "DeclaredReferenceTarget" })
550
buildManagerSession.
BuildProjectFile
(undeclaredReferenceFile, new[] { "UndeclaredReferenceTarget" })
554
var result = buildManagerSession.
BuildProjectFile
(rootProjectFile, targets);
605
buildManagerSession.
BuildProjectFile
(referenceFile).OverallResult.ShouldBe(BuildResultCode.Success);
606
buildManagerSession.
BuildProjectFile
(referenceFile, new[] { "A" }).OverallResult.ShouldBe(BuildResultCode.Success);
608
buildManagerSession.
BuildProjectFile
(projectFile).OverallResult.ShouldBe(BuildResultCode.Success);
ProjectCache\ProjectCacheTests.cs (6)
502
var buildResult = buildSession.
BuildProjectFile
(node.ProjectInstance.FullPath);
584
BuildResult buildResult = buildSession.
BuildProjectFile
(
707
.
BuildProjectFile
(rootNode.ProjectInstance.FullPath, globalProperties: globalProperties)
895
BuildResult buildResult = buildSession.
BuildProjectFile
(project1.Path);
1131
var buildResult = buildSession.
BuildProjectFile
(project.Path);
1498
buildSession.
BuildProjectFile
(graph.GraphRoots.First().ProjectInstance.FullPath).ShouldHaveSucceeded();