【发布时间】:2016-12-25 23:07:58
【问题描述】:
我刚刚安装了 LTS 版本的 .NET Core SDK (1.0.0-preview2-003156)。我使用创建了一个新项目
dotnet new
但是,这失败了,因为
Failed to create prime the NuGet cache. restore failed with 1.
我按照this post 中的指示清除了我的本地包缓存,剩下这个包:
System.Security.Cryptography.Algorithms
4.2.0\ref 子目录在我尝试打开它时出现此错误:
The file or directory is corrupted and unreadable.
我该如何清除这个包,或者至少达到恢复包恢复工作的程度?
【问题讨论】:
标签: nuget .net-core nuget-package-restore dotnet-restore