dotnet / aspire

An opinionated, cloud ready stack for building observable, production ready, distributed applications in .NET
https://learn.microsoft.com/dotnet/aspire
MIT License
2.99k stars 283 forks source link

Aspire solution templates should check for CLI host rather than VS host #3951

Closed DamianEdwards closed 2 weeks ago

DamianEdwards commented 2 weeks ago

The Aspire solution templates currently special case the VS host and don't generate a .sln file in that case. Instead they should special case the CLI host and only generate a .sln file in this case. This will make them aligned with the Blazor solution templates and work correctly in other non-CLI hosts like VS Code C# Dev Kit.