title: LINK : fatal error LNK1104: cannot open file 'D:\...\MyProj.exe'
body: <p>Using Visual Studio 2010, when I build + run my application in short intervals I often get the following error. If I just wait a minute or two and try again it works fine. <a href="http://www.emptyloop.com/unlocker/" rel="noreferrer">Unlocker</a> claims no handle is locking the executable file.<br> How can I discover what's locking it?<br> If it's Visual Studio itself, what should I do to make it stop? or alternatively to release the file?</p>
  
  <pre><code>1&gt;------ Build started: Project: MyProj, Configuration: Release Win32 ------
  ...
  1&gt;InitializeBuildStatus:
  1&gt;  Creating "Release\MyProj.unsuccessfulbuild" because "AlwaysCreate" was specified.
  1&gt;ClCompile:
  1&gt;  All outputs are up-to-date.
  1&gt;  SomeFile1.cpp
  1&gt;ResourceCompile:
  1&gt;  All outputs are up-to-date.
  1&gt;LINK : fatal error LNK1104: cannot open file 'D:\...\MyProj.exe'
  1&gt;
  1&gt;Build FAILED.
  1&gt;
  1&gt;Time Elapsed 00:00:00.94
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  </code></pre>