title: Visual Studio hangs constantly during build
body: <p>Probably between 25 and 50% of the times I build my solution, I see this:</p>
  
  <p>"<a href="https://i.imgur.com/UOtXUud.png" rel="noreferrer">The operation you requested is taking longer than expected to complete. This dialog will close when the action completes.</a>"</p>
  
  <p>I hate this window in ways I can't describe. It never resolves, the Cancel button is never enabled, and the only way to remedy it is to kill the devenv process and load up my entire solution again, knowing full well that I've fixed nothing and I'm equally liable to see the same thing when I attempt my build.</p>
  
  <p>My solution is about 60 projects in total, which are mostly C# class libraries, with a few each of web applications, web services, and console applications. However, the problem persists even when building one slice of the codebase with the majority (50) of the projects unloaded.</p>
  
  <p>My problem is that the output windows doesn't tell me anything at the point at which it freezes, and I don't know how else to determine the cause of this lockup. If I were to guess, I would assume that it's a deadlock in the filesystem or something, but I don't know how to go about proving this--much less how to prevent it.</p>
  
  <p>What can I do to diagnose and eliminate this from my solution so that I never see it again? In general, how can I diagnose problems that occur during a build?</p>