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/

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章