You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
defaultName option not working as expected with .NET CLI Item templates.
Have defined a defaultName with a valid value in the template.json, but it is never used when a name is not provided while invoking the dotnet new command.
The value for the name always defaults to the current folder name.
The text was updated successfully, but these errors were encountered:
Have tried with both stable .NET 5 and .NET 6 Preview 4, results are one and the same, for item templates, it always defaults to the current folder name if value not specified for both .NET and Custom templates.
To simulate the issue, run the following command:
dotnet new razorcomponent
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
defaultName option not working as expected with .NET CLI Item templates.
Have defined a defaultName with a valid value in the template.json, but it is never used when a name is not provided while invoking the dotnet new command.
The value for the name always defaults to the current folder name.
The text was updated successfully, but these errors were encountered: