microsoft / microsoft/aspire

`aspire add` only supports adding hosting integrations

Open
#8,369 4 comments 2 reactions 1 assignee Claimed by @mitchdenny View on GitHub
area-cli
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

### Describe the bug

When calling `aspire add` in a non-AppHost project, the tool will install only the hosting integration.

### Expected Behavior

The tool should be able to detect if it is being invoked in an AppHost or non-AppHost project and insert the client integration or hosting integration appropriately.

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### .NET Version info

_No response_

### Anything else?

_No response_

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.