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/
作者:xuejianxiyang
出处:http://xuejianxiyang.cnblogs.com
关于作者:Heaven helps those who help themselves.
本文版权归原作者和博客园共有,欢迎转载,但未经原作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。