Workarounds
Configure hostingEnvironment in Web.config
<system.web>
<hostingEnvironment
idleTimeout="120"
shutdownTimeout="30"
shadowCopyBinAssemblies="false" />
</system.web>
Add these lines in the pre-build event command line, which basically unlocks the DLL within Visual Studio.
IF EXIST $(TargetPath).LOCKED (del $(TargetPath).LOCKED)
ELSE (IF EXIST $(TargetPath) (move $(TargetPath) $(TargetPath).LOCKED))
No comments:
Post a Comment