2016-09-16 55 views
0

我想配置绑定到我的新项目。我已经在线配置了我的项目TFS,但我无法通过nuget添加任何软件包,并且始终出现此错误。由于权限的限制,无法通过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. 

回答

0

这可能是一个旧版本的nuget bug。从TFS Install package fails when solution/project is bound to TFS source control

的错误是在卸载包,的NuGet将删除包 文件,但如果用户设置disableSourceControllntegration到 真实,包文件是不是:更多详细信息,请从GitHub参考线在安装过程中添加到TFS工作场所, 所以TFS无法卸载过程中查找这些文件,

的解决方法是从TFS删除 包文件之前检查disableSourceControlIntegration。

来源链接:TFS Error "[file]not be found in your workspace...."

同时建议您更新的NuGet版本最新,然后再试一次。