2019中的Nuget包还原失败

2019中的Nuget包还原失败

本文介绍了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\'.
  https://api.nuget.org/v3/index.json: Error downloading 'WebGrease.1.5.2' from 'https://api.nuget.org/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.

推荐答案


这篇关于Visual Studio 2019中的Nuget包还原失败。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-03 21:13