title: Build error when signing with snk key
body: <p>Build error is occurring since using Visual Studio 2015. When building in Visual Studio 2015 this is occurring rarely. When building in TeamCity this occurs very often.</p>
  
  <p>[Error in Visual Studio 2015]</p>
  
  <ul>
  <li><em>Error extracting public key from file 'CompanyName.snk': The process cannot access the file 'C:\Users\UserName\AppData\Local\Temp\tmp2FF6.tmp' because it is being used by another process.  CompanyName.Project.DAL D:\Projecten\CompanyName\Repository\Source\Components\CompanyName.Project.DAL\vbc</em></li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/hKbbe.png" rel="noreferrer">http://i.stack.imgur.com/hKbbe.png</a> </p>
  
  <p>[Error in TeamCity]</p>
  
  <ul>
  <li><em>CSC error CS7027: Error signing output with public key from file 'CompanyName.snk' -- The process cannot access the file 'C:\BuildAgents\Gamma\temp\buildTmp\tmpD91D.tmp' because it is being used by another process.</em> </li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/rbgHx.png" rel="noreferrer">http://i.stack.imgur.com/rbgHx.png</a></p>