26 references to WithBuildEnvironment
Aspire.Hosting.Dotnet.Tests (22)
DotnetProjectBuildCoordinatorTests.cs (17)
361
.
WithBuildEnvironment
("OutputPath", "bin/custom/");
1454
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom")
1671
project.
WithBuildEnvironment
("LATE_BUILD_FLAVOR", "custom");
2322
.
WithBuildEnvironment
("BUILD_FLAVOR", "initial");
2331
project.
WithBuildEnvironment
("LATE_BUILD_FLAVOR", "late");
2497
.
WithBuildEnvironment
("TEMPORARY", "temporary")
3021
project.
WithBuildEnvironment
("BUILD_FLAVOR", "custom");
3424
project.
WithBuildEnvironment
("LATE_BUILD_FLAVOR", "custom");
3456
project.
WithBuildEnvironment
("PIPELINE_BUILD_FLAVOR", "custom");
3489
project.
WithBuildEnvironment
("LIFECYCLE_BUILD_FLAVOR", "custom");
3519
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom");
3546
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom");
3898
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom")
3947
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom")
4115
.
WithBuildEnvironment
("BUILD_FLAVOR", "custom\u2003flavor;value%")
4116
.
WithBuildEnvironment
("Configuration", "Release")
4600
.
WithBuildEnvironment
("BUILD_SECRET", marker);
DotnetProjectBuildEnvironmentTests.cs (1)
77
project.
WithBuildEnvironment
("BUILD_FLAVOR", "custom");
DotnetProjectPublicApiTests.cs (2)
103
var action = () => project.
WithBuildEnvironment
(name!, "value");
121
() => project.
WithBuildEnvironment
("BUILD_FLAVOR", "custom"));
DotnetProjectResourceTests.cs (2)
401
.
WithBuildEnvironment
("containerrepository", "override")
1157
.
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");