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

AI template on dotnet new doesn't respond well to -n output #6051

Open
timheuer opened this issue Mar 7, 2025 · 0 comments
Open

AI template on dotnet new doesn't respond well to -n output #6051

timheuer opened this issue Mar 7, 2025 · 0 comments
Labels
area-ai-templates Microsoft.Extensions.AI.Templates bug This issue describes a behavior which is not expected - a bug. untriaged

Comments

@timheuer
Copy link
Member

timheuer commented Mar 7, 2025

Description

When using the CLI with the new AI template, the dotnet new -n is not operating like other templates

Reproduction Steps

  1. Install the new AI template
  2. Start in a dir e.g. c:\sources\projects
  3. dotnet new aichatweb -n foochat

Expected behavior

A project located in c:\sources\projects\foochat is created

Actual behavior

A project located at c:\sources\projects is created

Regression?

No response

Known Workarounds

Use dotnet new aichatweb -o foochat works as expected

Configuration

No response

Other information

By comparison other templates interpret -n also to output folder

@timheuer timheuer added bug This issue describes a behavior which is not expected - a bug. untriaged labels Mar 7, 2025
@github-actions github-actions bot added the area-ai-templates Microsoft.Extensions.AI.Templates label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ai-templates Microsoft.Extensions.AI.Templates bug This issue describes a behavior which is not expected - a bug. untriaged
Projects
None yet
Development

No branches or pull requests

1 participant