Command copy exited with code 4 when building - Visual Studio restart solves it

前端 未结 27 2372
被撕碎了的回忆
被撕碎了的回忆 2020-12-04 08:51

Every now and then when I build my solution here (with 7 projects in it) I get the dreaded \'Command copy exited with code 4\' error, in Visual Studio 2010 Premium ed.

27条回答
  •  执念已碎
    2020-12-04 09:09

    As I am writing a DLL library I used the xcopy command to copy the library where the program can find and load it. After several times of opening and closing the program there was still an open process of it in taskmanager which i did not recognized.

    Look for any process from which the file may be used and close it.

提交回复
热议问题