vs调试报错: The file is locked by: "Microsoft Visual Studio 2019 (41580)" 的解决办法

问题:

Could not copy "obj\x86\Debug\xxx.exe" to "bin\x86\Debug\xxx.exe". Exceeded retry count of 10. Failed. The file is locked by: "Microsoft Visual Studio 2019 (41580)"

 

解决:

问题是由 Debug 选项引起的Use Managed Compatibility Mode!因此,只需取消选中调试 -> 选项 ->Use Managed Compatibility Mode并且 Visual Studio 不再锁定文件错误!

https://qa.1r1g.com/sf/ask/3980688701/

posted @ 2024-01-23 10:01  Ace001  阅读(160)  评论(0编辑  收藏  举报