29 references to WithBuildEnvironment
Aspire.Hosting.Dotnet.Tests (25)
DotnetProjectBuildCoordinatorTests.cs (20)
373
.
WithBuildEnvironment
("OutputPath", "bin/custom/");
1070
.
WithBuildEnvironment
(MsBuildNodeReuseIsolation.HandshakeSaltEnvironmentVariable, "configured");
1479
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom")
1532
.
WithBuildEnvironment
(saltName, "configured")
1784
project.
WithBuildEnvironment
("LATE_BUILD_FLAVOR", "custom");
2435
.
WithBuildEnvironment
("BUILD_FLAVOR", "initial");
2444
project.
WithBuildEnvironment
("LATE_BUILD_FLAVOR", "late");
2610
.
WithBuildEnvironment
("TEMPORARY", "temporary")
3134
project.
WithBuildEnvironment
("BUILD_FLAVOR", "custom");
3537
project.
WithBuildEnvironment
("LATE_BUILD_FLAVOR", "custom");
3569
project.
WithBuildEnvironment
("PIPELINE_BUILD_FLAVOR", "custom");
3602
project.
WithBuildEnvironment
("LIFECYCLE_BUILD_FLAVOR", "custom");
3632
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom");
3659
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom");
4013
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom")
4014
.
WithBuildEnvironment
(MsBuildNodeReuseIsolation.HandshakeSaltEnvironmentVariable, "configured")
4131
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom")
4299
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom\u2003flavor;value%")
4300
.
WithBuildEnvironment
("Configuration", "Release")
4782
.
WithBuildEnvironment
("BUILD_SECRET", marker);
DotnetProjectBuildEnvironmentTests.cs (1)
76
project.
WithBuildEnvironment
("BUILD_FLAVOR", "custom");
DotnetProjectPublicApiTests.cs (2)
103
var action = () => project.
WithBuildEnvironment
(name!, "value");
121
() => project.
WithBuildEnvironment
("BUILD_FLAVOR", "custom"));
DotnetProjectResourceTests.cs (2)
403
.
WithBuildEnvironment
("containerrepository", "override")
1159
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom")
Aspire.Hosting.EntityFrameworkCore.Tests (4)
EFBuildCustomizationWarningTests.cs (3)
74
target.
WithBuildEnvironment
("BUILD_FLAVOR", "unrelated");
119
options => options.ExcludeLaunchProfile = true).
WithBuildEnvironment
("BUILD_FLAVOR", "custom");
182
options => options.ExcludeLaunchProfile = true).
WithBuildEnvironment
("BUILD_FLAVOR", "custom");
EFBuildReadinessTests.cs (1)
97
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom");