gpt4 book ai didi

asp.net - 由于获得权限,无法通过nuget安装润滑脂

转载 作者:行者123 更新时间:2023-12-03 08:51:36 25 4
gpt4 key购买 nike

我想配置 bundle 到我的新项目。我已经使用TFS在线配置了我的项目,但是我无法通过nuget添加任何程序包,并且总是会收到此错误。

The item F:\Project\MOC\packages\WebGrease.1.5.2\lib\WebGrease.dll could not be                found in your workspace, or you do not have permission to access it.
The item F:\Project\MOC\packages\WebGrease.1.5.2\tools\install.ps1 could not be found in your workspace, or you do not have permission to access it.
The item F:\Project\MOC\packages\WebGrease.1.5.2\tools\uninstall.ps1 could not be found in your workspace, or you do not have permission to access it.

最佳答案

这可能与旧版本有关。更多详细信息,请引用GitHub上的线程:Install package fails when solution/project is bound to TFS source control

The bug is during uninstalling packages, nuget will delete package files from TFS, but if user set disableSourceControllntegration to true, package files are not added to TFS workplace during installing, so TFS can't find those files during uninstalling,

The fix is to check disableSourceControlIntegration before deleting package files from TFS.

Source Link: TFS Error "[file]not be found in your workspace...."



还建议您将nuget版本更新为最新版本,然后重试。

关于asp.net - 由于获得权限,无法通过nuget安装润滑脂,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39525954/

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