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

前端 未结 27 2315
被撕碎了的回忆
被撕碎了的回忆 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:30

    I got this error because the user account that TFS Build Service was running under did not have permissions to write to the destination folder. Right-click on the folder-->Properties-->Security.

提交回复
热议问题