Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

DamianEdwards
Copy link
Member

@DamianEdwards DamianEdwards commented Apr 25, 2024

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 DamianEdwards requested a review from smitpatel April 25, 2024 18:05
@DamianEdwards
Copy link
Member Author

/backport to release/8.0

Copy link
Contributor

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

@radical
Copy link
Member

radical commented Apr 25, 2024

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

@DamianEdwards
Copy link
Member Author

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

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

@DamianEdwards DamianEdwards merged commit fe190c6 into main Apr 25, 2024
8 checks passed
@DamianEdwards DamianEdwards deleted the damianedwards/sln-template-host-fix branch April 25, 2024 21:38
@DamianEdwards DamianEdwards restored the damianedwards/sln-template-host-fix branch April 26, 2024 17:18
@DamianEdwards DamianEdwards deleted the damianedwards/sln-template-host-fix branch April 26, 2024 17:18
@github-actions github-actions bot locked and limited conversation to collaborators May 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Aspire solution templates should check for CLI host rather than VS host
3 participants