Visual Studio 2019中的Nuget包还原失败。

编程入门 行业动态 更新时间:2024-10-25 16:20:17
本文介绍了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包还原失败。

本文发布于:2023-11-10 09:58:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1575070.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Studio   Visual   Nuget

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!