>>hostingEnvironment shadowCopyBinAssemblies="false" in web.config?
>
>Yes, this is very interesting. I see it would improve performance whenever I would upload a new copy of my Application.dll or Framework.dll. But, there is something in here:
>
>
http://bytes.com/topic/net/insights/885159-what-meant-shadow-copying-net>
>...about the impact of keeping it off:
>
>"While this will reduce performance overhead associated with shadow copying the contents of the \bin directory, do keep in mind that using this configuration option will result in the DLLs being locked when the app is running. So if you need to update a DLL, you will need to take the application offline or stop the process before you can do so."
>
>So, basically, I would no longer be able to simply FTP upload a new copy of Application.dll or Framework.dll in the Bin directory as is. This would be a major drop in the way we manage our updates. Is that your understanding as well?
Yes. I don't think it should be used on a production server - just for development. I came across this suggestion to free up locks in the pre-build but I've no idea how well (or if) it works:
http://www.fatagnus.com/cannot-createshadow-copy-problem-in-visual-studio-arghhh/