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