“dotnet new templatename”在哪里?命令存储模板?
在运行dotnet new StringExt之后,我得到了消息
成功创建了模板“示例模板:字符串扩展”。
我在测试文件夹中查找扩展程序,但我看不到任何创建的东西。
I am following tutorial for Create an Item Template for dotnet new CLI
After running dotnet new stringext I get the message
The template "Example templates: string extensions" was created successfully.
I look up for the extension in my test folder but I do not see anything new created.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
找到了MacOS答案的类似问题 - 在哪里Mac上的dotnet CLI的默认模板目录?
Windows上的
.templateEngine
目录在您的用户目录中 -%userProfile%\。templateEngine
Found a similar question with an answer for macOS - Where is the dotnet CLI's default template directory on mac?
On Windows it is also in a
.templateengine
directory inside your user directory -%USERPROFILE%\.templateengine