Visual Studio: fatal error LNK1201: error writing to program database ‘…’ check for insufficient disk space, invalid path, or insufficient privilege

By , last updated July 21, 2019

When I get this error, it’s always because I’ve opened the debugging process in Process Explorer.

Error    1    fatal error LNK1201: error writing to program database 'e:blerghblerghbinblergh_d.pdb'; check for insufficient disk space, invalid path, or insufficient privilege

Close the handle in Process Explorer or restart Process Explorer.