Skip to content

Conversation

makazeu
Copy link
Contributor

@makazeu makazeu commented Mar 15, 2025

Fixes #6051.

Create a directory for the AIChatWeb template if name is specified, by setting preferNameDirectory to true

doco: https://github.com/dotnet/templating/wiki/Reference-for-template.json#output-management

preferNameDirectory has been set to True in many dotnet templates: https://github.com/search?q=repo%3Adotnet%2Fdotnet%20preferNameDirectory&type=code

Microsoft Reviewers: Open in CodeFlow

@makazeu makazeu requested a review from a team as a code owner March 15, 2025 14:56
@github-actions github-actions bot added the area-ai-templates Microsoft.Extensions.AI.Templates label Mar 15, 2025
@makazeu makazeu changed the title Set preferNameDirectory to True Create a directory for the AIChatWeb template if name is specified Mar 15, 2025
Copy link
Member

@SteveSandersonMS SteveSandersonMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@SteveSandersonMS SteveSandersonMS merged commit c428df2 into dotnet:main Mar 17, 2025
7 checks passed
@makazeu makazeu deleted the aichatweb-template-preferNameDirectory branch March 29, 2025 02:23
@github-actions github-actions bot locked and limited conversation to collaborators Apr 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-ai-templates Microsoft.Extensions.AI.Templates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AI template on dotnet new doesn't respond well to -n output
2 participants