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") 1784project.WithBuildEnvironment("LATE_BUILD_FLAVOR", "custom"); 2435.WithBuildEnvironment("BUILD_FLAVOR", "initial"); 2444project.WithBuildEnvironment("LATE_BUILD_FLAVOR", "late"); 2610.WithBuildEnvironment("TEMPORARY", "temporary") 3134project.WithBuildEnvironment("BUILD_FLAVOR", "custom"); 3537project.WithBuildEnvironment("LATE_BUILD_FLAVOR", "custom"); 3569project.WithBuildEnvironment("PIPELINE_BUILD_FLAVOR", "custom"); 3602project.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)
76project.WithBuildEnvironment("BUILD_FLAVOR", "custom");
DotnetProjectPublicApiTests.cs (2)
103var 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)
74target.WithBuildEnvironment("BUILD_FLAVOR", "unrelated"); 119options => options.ExcludeLaunchProfile = true).WithBuildEnvironment("BUILD_FLAVOR", "custom"); 182options => options.ExcludeLaunchProfile = true).WithBuildEnvironment("BUILD_FLAVOR", "custom");
EFBuildReadinessTests.cs (1)
97.WithBuildEnvironment("BUILD_FLAVOR", "custom");