24 references to WithBuildEnvironment
Aspire.Hosting.Dotnet.Tests (20)
DotnetProjectBuildCoordinatorTests.cs (15)
1098.WithBuildEnvironment("BUILD_FLAVOR", "custom") 1315project.WithBuildEnvironment("LATE_BUILD_FLAVOR", "custom"); 1340.WithBuildEnvironment("BUILD_FLAVOR", "initial"); 1349project.WithBuildEnvironment("LATE_BUILD_FLAVOR", "late"); 1515.WithBuildEnvironment("TEMPORARY", "temporary") 2027project.WithBuildEnvironment("BUILD_FLAVOR", "custom"); 2425project.WithBuildEnvironment("LATE_BUILD_FLAVOR", "custom"); 2457project.WithBuildEnvironment("PIPELINE_BUILD_FLAVOR", "custom"); 2490project.WithBuildEnvironment("LIFECYCLE_BUILD_FLAVOR", "custom"); 2520.WithBuildEnvironment("BUILD_FLAVOR", "custom"); 2547.WithBuildEnvironment("BUILD_FLAVOR", "custom"); 2877.WithBuildEnvironment("BUILD_FLAVOR", "custom") 2926.WithBuildEnvironment("BUILD_FLAVOR", "custom") 3094.WithBuildEnvironment("BUILD_FLAVOR", "custom\u2003flavor;value%") 3516.WithBuildEnvironment("BUILD_SECRET", marker);
DotnetProjectBuildEnvironmentTests.cs (1)
77project.WithBuildEnvironment("BUILD_FLAVOR", "custom");
DotnetProjectPublicApiTests.cs (2)
103var action = () => project.WithBuildEnvironment(name!, "value"); 121() => project.WithBuildEnvironment("BUILD_FLAVOR", "custom"));
DotnetProjectResourceTests.cs (2)
401.WithBuildEnvironment("BUILD_FLAVOR", "custom") 427.WithBuildEnvironment("containerrepository", "override")
Aspire.Hosting.EntityFrameworkCore.Tests (4)
EFBuildCustomizationWarningTests.cs (3)
67target.WithBuildEnvironment("BUILD_FLAVOR", "unrelated"); 108options => options.ExcludeLaunchProfile = true).WithBuildEnvironment("BUILD_FLAVOR", "custom"); 171options => options.ExcludeLaunchProfile = true).WithBuildEnvironment("BUILD_FLAVOR", "custom");
EFBuildReadinessTests.cs (1)
92options => options.ExcludeLaunchProfile = true).WithBuildEnvironment("BUILD_FLAVOR", "custom");