[英]Access denied Microsoft.Bcl.Build when switching branch in vs2015 with tfs git repository
When switch from branch in vs2015 I got an access denied error 在vs2015中从分支切换时,我收到了拒绝访问错误
An error occurred. Detailed message: Could not remove
'C:/git/desan.crf/packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.Tasks.dll':
Access is denied.
Closing the project in VS2015 doesn't help. 在VS2015中关闭项目没有帮助。
The problem doesn't exists when I start vs2015 and switch the branch before opening the project 当我启动vs2015并在打开项目之前切换分支时,问题不存在
Solved Problem by removing all packages in the packages
folder from git source control in both branches. 通过从两个分支中的git源控件中删除
packages
文件夹中的所有包来解决问题。
Do this for both braches 为两个分支做这个
The problem exists because in only one branch the package was delete 存在问题是因为只有一个分支包被删除
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.