gpt4 book ai didi

asp.net-core - dnu 恢复错误(找不到路径的一部分..)

转载 作者:行者123 更新时间:2023-12-04 16:08:07 26 4
gpt4 key购买 nike

有人尝试使用 Entity Framework -beta8 迁移吗?每次我运行 dnx ef 命令时,我都会得到以下信息

"Error: . Please run dnu restore to generate a new lock file"



运行 dnu restore 然后给出错误

Could not find a part of the path "c:\users\Username\ .dnx\packages\Owin\1.0.0\Owin.1.0.0.nupkg.sha512



知道出了什么问题吗?

编辑

Checking it now and the path on the C drive is 1.0 not 1.0.0..that seems to be part of the issue here. Not sure if it was the right thing to do but renaming the folders worked in the end

最佳答案

我尝试了@Lutando 的建议,但出现命令提示错误

'dnx' is not recognized as an internal or external command, operable program or batch file.



如果您收到此信息,请执行以下操作:
dnvm upgrade
dnu restore

那你应该重新开始营业

关于asp.net-core - dnu 恢复错误(找不到路径的一部分..),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33336688/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com