PDB remains open after debugging (Windows 10, Visual Studio)
问题 Our previous development systems used Windows XP and Windows 7. Debugging C++ DLLs from Visual Studio worked great. A recent move to Windows 10 has resulted in an annoying problem. We can debug once (using F5 ), but the 2nd time results in a linker error: MyProg fatal error LNK1201: error writing to program database 'MyProg.pdb' Trying to delete the .pdb manually in Explorer while Visual Studio is still open results in the error: The action can't be completed because the file is open in