首页 > 系统服务 > 详细

Failed to create prime the NuGet cache

时间:2016-07-06 00:01:35      阅读:742      评论:0      收藏:0      [点我收藏+]

在centos 7上使用dotnet core时:

dotnet core 安装环境在root下完成,并成功运行“hello world”程序。切换到其他账户使用dotnet命令时,报“Failed to create prime the NuGet cache. restore failed with: 1”。

原因是dotnet new/restore 需要使用tmp目录下的NuGetScratch目录,然而该目录由root创建,需要给操作账户分配权限相应的权限。

 

Failed to create prime the NuGet cache

原文:http://www.cnblogs.com/hobinly/p/5645427.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!