Implemented interface member:
property
BuildEngine
Microsoft.Build.Framework.ITask.BuildEngine
616 writes to BuildEngine
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (24)
MapSourceRootTests.cs (10)
34BuildEngine = engine,
85BuildEngine = engine,
130BuildEngine = engine,
157BuildEngine = engine,
208BuildEngine = engine,
247BuildEngine = engine,
290BuildEngine = engine,
361BuildEngine = engine,
391BuildEngine = engine,
424BuildEngine = engine,
Microsoft.Build.Tasks.Core (1)
Microsoft.Build.Tasks.UnitTests (510)
Copy_Tests.cs (63)
133var task = new Copy { BuildEngine = new MockEngine(true), };
149BuildEngine = new MockEngine(true),
174BuildEngine = new MockEngine(true),
217BuildEngine = new MockEngine(true),
243BuildEngine = engine,
272BuildEngine = engine,
297BuildEngine = engine,
321BuildEngine = engine,
345BuildEngine = engine,
369BuildEngine = engine,
393BuildEngine = engine,
416BuildEngine = engine,
441BuildEngine = engine,
467BuildEngine = engine,
504BuildEngine = new MockEngine(_testOutputHelper),
552BuildEngine = new MockEngine(_testOutputHelper),
612BuildEngine = new MockEngine(_testOutputHelper),
664BuildEngine = new MockEngine(_testOutputHelper),
720BuildEngine = new MockEngine(_testOutputHelper),
787BuildEngine = new MockEngine(_testOutputHelper),
854BuildEngine = new MockEngine(_testOutputHelper),
921BuildEngine = new MockEngine(_testOutputHelper),
994BuildEngine = new MockEngine(_testOutputHelper),
1060BuildEngine = new MockEngine(_testOutputHelper),
1116BuildEngine = engine,
1195BuildEngine = new MockEngine(_testOutputHelper),
1234BuildEngine = engine,
1281BuildEngine = engine,
1328BuildEngine = engine,
1371BuildEngine = engine,
1497BuildEngine = engine,
1544BuildEngine = engine,
1599BuildEngine = engine,
1681BuildEngine = engine,
1700BuildEngine = engine,
1752BuildEngine = engine,
1806BuildEngine = engine,
1867BuildEngine = me,
1939BuildEngine = new MockEngine(_testOutputHelper),
2004BuildEngine = new MockEngine(_testOutputHelper),
2071BuildEngine = new MockEngine(_testOutputHelper),
2140BuildEngine = engine,
2188BuildEngine = new MockEngine(_testOutputHelper),
2226BuildEngine = new MockEngine(_testOutputHelper),
2252BuildEngine = new MockEngine(_testOutputHelper),
2276BuildEngine = new MockEngine(_testOutputHelper),
2300BuildEngine = engine,
2321BuildEngine = engine,
2346BuildEngine = engine,
2413BuildEngine = engine,
2440BuildEngine = engine,
2472BuildEngine = engine,
2501BuildEngine = engine,
2536BuildEngine = engine,
2568BuildEngine = me,
2659BuildEngine = me,
2745BuildEngine = me,
2823BuildEngine = me,
2889BuildEngine = me,
2917BuildEngine = engine,
2955BuildEngine = me,
2972BuildEngine = me,
2995BuildEngine = me,
DownloadFile_Tests.cs (12)
36BuildEngine = _mockEngine,
65BuildEngine = _mockEngine,
113BuildEngine = _mockEngine,
143BuildEngine = _mockEngine,
171BuildEngine = _mockEngine,
185BuildEngine = _mockEngine,
208BuildEngine = _mockEngine,
240BuildEngine = _mockEngine,
259BuildEngine = _mockEngine,
282BuildEngine = _mockEngine,
321BuildEngine = _mockEngine,
351BuildEngine = _mockEngine,
GetCompatiblePlatform_Tests.cs (12)
32BuildEngine = new MockEngine(_output),
55BuildEngine = new MockEngine(_output),
79BuildEngine = new MockEngine(_output),
100BuildEngine = new MockEngine(_output),
122BuildEngine = new MockEngine(_output),
144BuildEngine = new MockEngine(_output),
165BuildEngine = new MockEngine(_output),
188BuildEngine = new MockEngine(_output),
211BuildEngine = new MockEngine(_output),
237BuildEngine = new MockEngine(_output),
264BuildEngine = new MockEngine(_output),
286BuildEngine = new MockEngine(_output),
Unzip_Tests.cs (17)
39BuildEngine = _mockEngine,
67BuildEngine = _mockEngine,
80BuildEngine = _mockEngine,
95BuildEngine = _mockEngine,
124BuildEngine = _mockEngine,
146BuildEngine = _mockEngine,
192BuildEngine = _mockEngine,
216BuildEngine = _mockEngine,
236BuildEngine = _mockEngine,
261BuildEngine = _mockEngine,
290BuildEngine = _mockEngine,
323BuildEngine = _mockEngine,
356BuildEngine = _mockEngine,
384BuildEngine = _mockEngine,
412BuildEngine = _mockEngine,
440BuildEngine = _mockEngine,
474BuildEngine = _mockEngine,
WriteLinesToFile_Tests.cs (15)
35BuildEngine = new MockEngine(_output),
58BuildEngine = new MockEngine(_output),
77BuildEngine = new MockEngine(_output),
109BuildEngine = new MockEngine(_output),
130BuildEngine = new MockEngine(_output),
142BuildEngine = new MockEngine(_output),
168BuildEngine = engine,
192BuildEngine = new MockEngine(_output),
213BuildEngine = new MockEngine(_output),
226BuildEngine = new MockEngine(_output),
271BuildEngine = new MockEngine(_output),
282BuildEngine = new MockEngine(_output),
305BuildEngine = new MockEngine(_output),
336BuildEngine = new MockEngine(_output),
362BuildEngine = new MockEngine(_output),
Microsoft.Build.Utilities.UnitTests (38)
Microsoft.DotNet.Arcade.Sdk.Tests (2)
Microsoft.DotNet.Build.Tasks.Feed (3)
Microsoft.DotNet.Build.Tasks.Feed.Tests (12)
Microsoft.DotNet.Build.Tasks.Installers (1)
Microsoft.DotNet.Build.Tasks.Templating.Tests (2)
Microsoft.DotNet.Build.Tasks.VisualStudio.Tests (3)
Microsoft.DotNet.Build.Tasks.Workloads (1)
Microsoft.DotNet.Build.Tasks.Workloads.Tests (3)
Microsoft.DotNet.Helix.Sdk.Tests (9)
Microsoft.DotNet.NuGetRepack.Tests (1)
Microsoft.DotNet.SourceBuild.Tasks.Tests (4)
Microsoft.Extensions.ApiDescription.Client.Tests (2)
131 references to BuildEngine
Crossgen2Tasks (1)
Microsoft.Build.Engine.UnitTests (4)
Microsoft.Build.Tasks.Core (4)
Microsoft.Build.Tasks.UnitTests (101)
Exec_Tests.cs (41)
95MockEngine engine = (MockEngine)exec.BuildEngine;
153((MockEngine)exec.BuildEngine).AssertLogContains("MSB3073");
156((MockEngine)exec.BuildEngine).AssertLogContains("cp: ");
172((MockEngine)exec.BuildEngine).AssertLogContains("MSB5002");
173int warningsCount = ((MockEngine)exec.BuildEngine).Warnings;
176((MockEngine)exec.BuildEngine).WarningEvents.Select(w => w.Message)));
179Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors);
191MockEngine mockEngine = (MockEngine)exec.BuildEngine;
210Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings);
211Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors);
239((MockEngine)exec.BuildEngine).AssertLogContains("MSB3073");
276((MockEngine)exec.BuildEngine).AssertLogContains("[" + working + "]");
310((MockEngine)exec.BuildEngine).AssertLogContains("[" + expected + "]");
343((MockEngine)exec.BuildEngine).AssertLogContains("[hello]");
381((MockEngine)exec.BuildEngine).AssertLogContains("[hello]");
418((MockEngine)exec.BuildEngine).AssertLogContains("[hello]");
455((MockEngine)exec.BuildEngine).AssertLogContains("[hello]");
595((MockEngine)exec.BuildEngine).AssertLogContains("[hello]");
620((MockEngine)exec.BuildEngine).AssertLogContains("MSB6003");
633((MockEngine)exec.BuildEngine).AssertLogContains("MSB6003");
653MockEngine e = (MockEngine)exec.BuildEngine;
675MockEngine e = (MockEngine)exec.BuildEngine;
684e = (MockEngine)exec.BuildEngine;
706MockEngine e = (MockEngine)exec.BuildEngine;
716e = (MockEngine)exec.BuildEngine;
735Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors);
736Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings);
752Assert.Equal(3, ((MockEngine)exec.BuildEngine).Errors);
753Assert.Equal(2, ((MockEngine)exec.BuildEngine).Warnings);
767((MockEngine)exec.BuildEngine).AssertLogContains("unmatched curly {");
768Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors);
769Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings);
784((MockEngine)exec.BuildEngine).AssertLogContains("unmatched curly {");
785Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors);
786Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings);
802Assert.Equal(2, ((MockEngine)exec.BuildEngine).Errors);
803Assert.Equal(1, ((MockEngine)exec.BuildEngine).Warnings);
815Assert.Equal(2, ((MockEngine)exec.BuildEngine).Errors);
816Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings);
876((MockEngine)exec.BuildEngine).AssertLogContains("MSB3072");
892((MockEngine)exec.BuildEngine).AssertLogContains("[myvalue]");
Microsoft.Build.Utilities.Core (8)
Microsoft.DotNet.Build.Tasks.Workloads (4)
CreateVisualStudioWorkload.wix.cs (3)
169var manifestMsi = new WorkloadManifestMsi(manifestPackage, platform, BuildEngine, WixToolsetPath, BaseIntermediateOutputPath, EnableSideBySideManifests);
344WorkloadPackMsi msi = new(data.Package, platform, BuildEngine, WixToolsetPath, BaseIntermediateOutputPath);
391WorkloadPackGroupMsi msi = new(packGroup, platform, BuildEngine, WixToolsetPath, BaseIntermediateOutputPath);
Microsoft.DotNet.SignTool (1)
Microsoft.Maui.Resizetizer (6)
PresentationBuildTasks (2)