Had this problem the other day when trying to debug an ASP.NET web application, after hitting F5, a message box pops up saying “Unable to attach to application ‘WebDev.Webserver.EXE’ (PID:xxxxx) using {my machine name}”.
Had me for a while, untill I decide to disable my AV software at which point it starts to work again. So I then add the VS directories as exclusions to the AV software, re-enable it and problem solved.
Published by