加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net-core – 无法运行使用yeoman生成器生成的asp.net核心项

发布时间:2020-12-16 03:38:33 所属栏目:asp.Net 来源:网络整理
导读:我使用yo aspnet使用Yeoman Generator创建了一个Asp.Net Core项目,但该项目无法运行. MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file. 解决方法 请做以下事情:
我使用yo aspnet使用Yeoman Generator创建了一个Asp.Net Core项目,但该项目无法运行.

MSBUILD : error MSB1003: Specify a project or solution file. The
current working directory does not contain a project or solution file.

enter image description here

解决方法

请做以下事情:

npm uninstall -g generator-aspnet
npm install -g yo bower # (optional)
npm install -g generator-aspnet@0.2.6

检查您是否安装了最新版本的SDK,而不是LTS版本.

谢谢Steve Smith,Scott Addie,Rick Anderson,Noel Rice和Shayne Boyer的亲切教程.

教程链接:https://docs.microsoft.com/en-us/aspnet/core/client-side/yeoman

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读