1

我最近将我的 VS 2015 更新为 Update 2,并且还做了一个 dnvm update-self。采取这些措施后,我现在无法执行 dnu 恢复。对于 myget 和 nuget 的几乎每个包,我都看到以下错误

     GET https://www.nuget.org/api/v2/FindPackagesById()?id='xunit.runner.dnx'
Warning: FindPackagesById: xunit.runner.dnx
  The file exists.

  GET https://www.nuget.org/api/v2/FindPackagesById()?id='xunit.runner.dnx'
Error: FindPackagesById: xunit.runner.dnx
  The file exists.

最终整个行动轰炸了。我尝试重新安装我的 DNX(当前使用 RC1-Update1),删除所有软件包等...无济于事。任何想法表示赞赏。

4

1 回答 1

2

我在这里找到了解决我的问题的方法:

https://github.com/aspnet/dnx/issues/2505

看起来我的 %userprofile%/AppData/Local/Temp 文件夹中有一些可能损坏的数据,这让 dnu 恢复感到困惑。DNU restore 在处理过程中会在此处缓存包。我清除了目录,DNU 恢复似乎再次运行良好。

于 2016-04-13T22:16:47.340 回答