none
Build cycle fails in Debug configuration due to "Could not copy "obj\Debug\xxx.exe".. to "bin\Debug\xxx.exe"..file...being used by another process

    Question

  • I just started getting these errors. To get through a Build in Debug cycle I need to:

    Close and ReOpen the solution

    OR, Build in Release configuration and then switch back and Build in Debug configuration

    OR, open Task Manager, find the application's xxx.vshost.exe in Processes and manually end the process. Then Build in Debug.

    I'm not sure what other process is using the file or why. I haven't tested to see if this happens with other solutions.


    Michael

    Monday, November 16, 2015 3:37 PM

Answers

All replies