title: Building solution from command line and error: "Failed to write to log file"
body: <p>I have a strange error. My solution (C++) has about 360 projects. When I build it using Visual Studio 2012, everything works fine. But when I build it using command line and devenv.com tool, I get an error MOST of times:</p>
  
  <p>"Failed to write to log file 'D:...\AddonsRes.log' because it is being used by another process."</p>
  
  <p>(the path is a 160 characters long existing path).</p>
  
  <p>What's more, the error is ALWAYS on the same file. Nevermind if PC is just restarted or not.
  My machine is Windows 10 64 bit. It has 12 processor cores (visual studio build 12 projects at the time).</p>
  
  <p>I know that Microsoft says that you should use msbuild instead of devenv, but msbuild has problems with building projects in right order.</p>
  
  <p>So can anyone help?</p>