我使用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.
解决方法
请做以下事情:
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