title: SqlServer Types error at build time
body: <p>I am working on a project in which we use the Geo types form SqlServer.</p>
  
  <p>For this purpose I had to add some DLLs in the solution that gets copied through the build process:</p>
  
  <pre><code>SqlServerTypes.Utilities.LoadNativeAssemblies(Server.MapPath("~/bin"));
  </code></pre>
  
  <p>This works quite great on my machine but then the guys in my team have build errors because of this.
  We are using our local IIS to host the solution and once IIS has started they can't build anymore.</p>
  
  <p>Tho only solution we found now is to restart the app pool (but honestly we're just typing iisreset)</p>
  
  <p>Here is a part of the error message (I stripped out the solution/project name)</p>
  
  <pre><code>Error     15         Could not copy "C:\Workspace\code-...Error 15  Could not copy "C:\Workspace\My-Awesome-Project\Web\MyAwesomeProject.Web\packages\Microsoft.SqlServer.Types.11.0.1\nativeBinaries\x64\msvcr100.dll" to "bin\SqlServerTypes\x64\msvcr100.dll". Exceeded retry count of 10. Failed.
  </code></pre>
  
  <p>I believe that there is a difference between my computer and the one from my colleagues but we could not point at the one difference that might have an influence on the problem.</p>
  
  <p>Any clue?</p>