码迷,mamicode.com
首页 > 系统相关 > 详细

Failed to create prime the NuGet cache

时间:2016-07-06 00:03:58      阅读:736      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!