【发布时间】:2018-04-26 04:55:08
【问题描述】:
我已经在我的 Ubuntu 18.04 上安装了 dotnet-sdk-2.1.105,但是当我使用命令 dotnet new 时,我发现那里没有模板 The list of templates is at the bottom, but it's empty and no template in there
【问题讨论】:
-
如果按照用法文本中列出的方式运行
dotnet new --list会怎样? -
还是什么都没有。我尝试使用命令
dotnet new console -o myApp创建一个新的控制台应用程序并收到错误消息:没有模板与输入模板名称匹配:控制台。 -
同一台机器上还有其他版本的sdk吗?
dotnet --version是否返回预期版本?您是否尝试过重新安装 sdk?
标签: ubuntu .net-core template-engine