9 references to PublishingContext
Aspire.Hosting.Native.Client (1)
Authoring\NativePipeline.cs (1)
229public CancellationToken CancellationToken => PublishingContext.CancellationToken;
Aspire.Hosting.Native.Core.Tests (2)
NativeComposeCSharpTests.cs (2)
199Assert.True(File.Exists(Path.Combine(context.PublishingContext.OutputPath, "compose.yaml"))); 391Assert.True(context.PublishingContext.IsRunMode);
NativeIntegrations.DockerCompose (5)
DockerComposeBuilderExtensions.cs (5)
100Step("validate-" + name, async ctx => { await target.PlanAsync(ctx.PublishingContext).ConfigureAwait(false); }, 102Step("prepare-" + name, async ctx => { await target.PlanAsync(ctx.PublishingContext).ConfigureAwait(false); }, 104Step("publish-" + name, ctx => target.PublishAsync(ctx.PublishingContext), ["prepare-" + name], ["publish"]); 105Step("deploy-" + name, ctx => target.DeployAsync(ctx.PublishingContext), ["publish-" + name], ["deploy"]); 229var resources = Objects(context.PublishingContext.Model["resources"]).ToArray();
NativeIntegrations.DockerCompose.AppHost.Sample (1)
Program.cs (1)
49var artifact = Path.Combine(context.PublishingContext.OutputPath, "compose.yaml");