microsoft / microsoft/aspire

Include resource name in 'unsupported resource type' error

Open
#9,004 3 comments 0 reactions 0 assignees View on GitHub
needs-retriage
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

I was trying to `azd up` an aspire app and getting the following error:
`ERROR: generating bicep from manifest: unsupported resource type: executable.v0`
That doesn't really mean anything to me, and so I had to go figure out how to generate the manifest so I could search it for `executable.v0` and find what resource was failing.

### Describe the solution you'd like

It seems like it should be fairly simple to include the resource name that failed.

e.g.
`ERROR: generating bicep from manifest: webui is an unsupported resource type: executable.v0`

### Additional context

Stretch goal; seems like we could also mention adding `.PublishAsDockerFile()` to the resource in the apphost?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.