The process cannot be accessed because it's being used by another process
<p>Allow me to paint the picture if you will. All the posts I have read regarding this issue the only thing  i haven't found is the solution/cause to the problem. Why hasn't MS fixed this?</p>

<p>I work on a solution at home and at work and we have Team Foundation Server(TFS) setup. When at home I have to VPN in. I have VS 2010 SP1, Win XP SP3 at work and Win 7 64 bit at home w/ SQL Server 2008 R2 Developer.</p>

<p>For years now I have worked with no issues while debugging what so ever from either location. </p>

<p>Just recently we published the application to the server from the work location (Win XP SP3 Pro) and only since then I get this 'The process cannot access the file because it is being used by another process" error. </p>

<p>I do not have any problems working from home. (WIn 7 64 bit machine) and I have not published from home at all either for what it's worth.</p>

<p>When at work I have to restart VS or keep task manager open and endprocess for the process of the app named <strong>appname_vshost.exe</strong> (or simular) 2-3 times before debug will run again smoothly. If I don't VS IDE is very painfully slow to respond.</p>

<p>I have totally deleted the Project files locally and retrieved them fresh from the TFS.
Everything runs fine until I edit something in the solution (project) and it starts all over again.</p>

<p>Anyone know of any solutions that I may not have found as yet?
I think having to creat a "work around" is a bandaid and not a solition any ideas?</p>
