“dotnet new templatename”在哪里?命令存储模板?

发布于 2025-01-17 17:10:05 字数 620 浏览 3 评论 0原文

我关注为dotnet创建一个项目模板new cli

在运行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.

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

北陌 2025-01-24 17:10:05

找到了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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文