We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccd32ff commit bbe4460Copy full SHA for bbe4460
playground/TestShop/TestShop.AppHost/Program.cs
@@ -30,7 +30,7 @@
30
var catalogDbApp = builder.AddProject<Projects.CatalogDb>("catalogdbapp")
31
.WithReference(catalogDb);
32
33
-if (builder.Environment.IsDevelopment())
+if (builder.Environment.IsDevelopment() && builder.ExecutionContext.IsRunMode)
34
{
35
var resetDbKey = Guid.NewGuid().ToString();
36
catalogDbApp.WithEnvironment("DatabaseResetKey", resetDbKey)
0 commit comments