My dll cannot be deleted, so deployment fails suddenly
Christina Quast
0
Reputation points
portalWeb deployment task failed. (Web Deploy cannot modify the file 'MyProgram.dll' on the destination because it is locked by an external process. In order to allow the publish operation to succeed, you may need to either restart your application to release the lock, or use the AppOffline rule handler for .Net applications on your next publish attempt. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FILE_IN_USE. Learn more at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FILE_IN_USE.)
Sign in to answer