Skip to content

Executable Arguments on dashboard show raw manifest expression #9047

@afscrome

Description

@afscrome

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

After upgrading to 9.2, the Source column for some of my resources has started showing manifest expressions in the arguments list.

Image

Expected Behavior

I'd expect to see the resolved arguments in the argument list, like you do in the Executable arguments property in the details view.

Steps To Reproduce

var app = builder.AddExecutable("exe", "pwsh.exe", ".")
    .WithHttpEndpoint();
var endpoint = app.GetEndpoint("http");

app.WithArgs("-port")
    .WithArgs(x => x.Args.Add(endpoint.Property(EndpointProperty.TargetPort)));

Exceptions (if any)

No response

.NET Version info

No response

Anything else?

Aspire 9.2.0

Metadata

Metadata

Assignees

Labels

area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication‼️regression-from-last-releaseThis used to work in an earlier version of Aspire and we broke it!

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions