mercredi 6 juillet 2016

Rebuild project without stopping debugging


I have a Visual C++ solution which includes a StartUp project and many DLL projects which are dynamically loaded and unloaded by the StartUp project. I'd like to rebuild a DLL project without stopping the current debugging session. However trying this will prompt me with the "Do you want to stop debugging?" popup.

Manually running msbuild on the project will fail with:

"D:MySolutionMyDLLProjectdllproject.vcxproj" (default target) (1) ->
(Link target) ->
  LINK : fatal error LNK1201: error writing to program database 'D:MySolutioncompiledDebugDBMyDLLProjectDebugdllproject.pdb'; check for insufficient disk space, invalid path, or insufficient privilege [D:MySolutionMyDLLProjectdllproject.vcxproj]

Is there a way to circumvent this?


Aucun commentaire:

Enregistrer un commentaire