38 references to Build
Microsoft.Build.Engine.OM.UnitTests (3)
Construction\ProjectTargetElement_Tests.cs (1)
360
collection.LoadProject(file.Path).
Build
().ShouldBeTrue();
Definition\Project_Tests.cs (2)
140
bool result = project.
Build
();
2060
bool result = project.
Build
();
Microsoft.Build.Engine.UnitTests (27)
BackEnd\MSBuild_Tests.cs (7)
84
bool success = p.
Build
();
188
bool success = project.
Build
();
998
bool success = p.
Build
();
1255
bool success = p.
Build
();
1560
bool success = p.
Build
();
1581
bool success2 = p2.
Build
();
1690
bool success = p.
Build
();
ChangeWaves_Tests.cs (1)
66
p.
Build
().ShouldBeTrue();
ConsoleLogger_Tests.cs (3)
223
p.
Build
().ShouldBeTrue();
264
p.
Build
().ShouldBeFalse();
316
p.
Build
().ShouldBeFalse();
Evaluation\Evaluator_Tests.cs (9)
518
bool result = project.
Build
();
561
bool result = project.
Build
();
606
bool result = project.
Build
();
649
bool result = project.
Build
();
695
bool result = project.
Build
();
739
bool result = project.
Build
();
785
bool result = project.
Build
();
5027
project.
Build
().ShouldBeTrue();
5068
bool result = project.
Build
();
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (7)
40
CreateAndBuildProjectForImportFromExtensionsPath("MSBuildExtensionsPath", (p, l) => Assert.True(p.
Build
()));
100
Assert.True(p.
Build
());
288
null, (p, l) => Assert.True(p.
Build
()));
364
Assert.True(p.
Build
());
415
Assert.True(project.
Build
());
440
CreateAndBuildProjectForImportFromExtensionsPath("MSBuildExtensionsPath32", (p, l) => Assert.True(p.
Build
()));
446
CreateAndBuildProjectForImportFromExtensionsPath("MSBuildExtensionsPath64", (p, l) => Assert.True(p.
Build
()));
Microsoft.Build.Tasks.UnitTests (5)
MSBuild_Tests.cs (1)
171
bool success = project.
Build
();
XmlPeek_Tests.cs (1)
339
project.
Build
().ShouldBeFalse();
XmlPoke_Tests.cs (3)
147
project.
Build
().ShouldBeFalse();
159
project.
Build
().ShouldBeFalse();
172
project.
Build
().ShouldBeFalse();
Microsoft.Build.UnitTests.Shared (3)
MockEngine.cs (1)
345
return (_projectCollection.LoadProject(projectFileName)).
Build
();
ObjectModelHelpers.cs (2)
776
project.
Build
().ShouldBeTrue();
804
project.
Build
().ShouldBeFalse("Build succeeded, but shouldn't have. See test output (Attachments in Azure Pipelines) for details\"");