ubuntu下创建.net core时出现 Failed to create prime the NuGet cache

https://docs.microsoft.com/en-us/aspnet/core/getting-started

根据微软给出的文档运行第一个web程序出现错误 Failed to create prime the NuGet cache

这说明命令操作到了没有权限的目录 

解决办法 使用root登入

具体办法查看http://jingyan.baidu.com/article/27fa73268144f346f8271f83.html

原文地址:https://www.cnblogs.com/ProDoctor/p/7605354.html