gpt4 book ai didi

git - vbcs.cache/edb.log 被 Visual Studio 2015 锁定

转载 作者:太空狗 更新时间:2023-10-29 12:54:21 26 4
gpt4 key购买 nike

当我尝试在线提交(并推送)代码到 Visual Studio 时,出现错误。

An error occurred. Detailed message: Could not open 'P:/.../Solution/.../.vs/.../vbcs.cache/edb.log': The process cannot access the file because it is being used by another process.

我已经验证文件已锁定,但仅在 Visual Studio 运行时才锁定,这意味着 Visual Studio 本身会锁定它。

我正在 Microsoft 提供的 Azure 虚拟机中使用 Visual Studio 2015 的预览版。

如何修复此错误?

重新启动虚拟机没有帮助。

最佳答案

对于 Git 用户,请编辑您的 .gitignore 文件,输入“/.vs”。这将忽略包含锁定文件的文件夹。

我还没有测试过它,但将其添加到另一个源代码控制系统(TFS、mercurial 等)的忽略文件中应该可以解决问题。

关于git - vbcs.cache/edb.log 被 Visual Studio 2015 锁定,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28703561/

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