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.98k stars 280 forks source link

Update sln templates to special-case CLI instead of VS #3953

Closed DamianEdwards closed 2 weeks ago

DamianEdwards commented 2 weeks ago

Changes the solution templates so that instead of special-casing VS and not creating the .sln file, they special-case the CLI and only create the .sln file in that case. This matches what the Blazor templates do and makes the templates work correctly in non-VS hosts like C# Dev Kit.

Fixes #3951

Microsoft Reviewers: Open in CodeFlow
DamianEdwards commented 2 weeks ago

/backport to release/8.0

github-actions[bot] commented 2 weeks ago

Started backporting to release/8.0: https://github.com/dotnet/aspire/actions/runs/8837362240

radical commented 2 weeks ago

Does anything need to be updated so this case gets verified by CTI?

DamianEdwards commented 2 weeks ago

Does anything need to be updated so this case gets verified by CTI?

I assume they're already covering C# Dev Kit.