本文介绍了Visual Studio 2019中的Nuget包还原失败。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我从GitHub克隆了一个项目。当我试图构建该项目时,我收到一个错误,如 :
I have cloned one project from GitHub. when i tried to build that project, i am getting an error like : "
Severity Code Description Project File Line Suppression State Error NuGet Package restore failed for project Application\BEL.FeedbackWorkflow: Unable to find version '1.5.2' of package 'WebGrease'. C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'WebGrease.1.5.2' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'. api.nuget/v3/index.json: Error downloading 'WebGrease.1.5.2' from 'api.nuget/v3-flatcontainer/webgrease/1.5.2/webgrease.1.5.2.nupkg'. Access to the path 'C:\Users\cloverspd1\.nuget\packages\webgrease\1.5.2\tools\WG.exe' is denied. . Please see Error List window for detailed warnings and errors.我尝试过: 清理并重建solution.still问题。
" What I have tried: cleaned and rebuild the solution.still problem exists.
推荐答案查看错误消息并检查引用文件丢失或无法访问的原因。如果所有其他方法都失败,请联系包裹的所有者。 Look at the error messages and check why the referenced file is missing or not accessible. If all else fails contact the owner of the package.
更多推荐
Visual Studio 2019中的Nuget包还原失败。
发布评论