Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiling and library in reference
Message
From
05/03/2013 10:19:25
 
 
To
05/03/2013 08:57:11
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01567382
Message ID:
01567439
Views:
23
>>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/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform