{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/694","repository_url":"https://api.github.com/repos/aspnet/Home","labels_url":"https://api.github.com/repos/aspnet/Home/issues/694/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/694/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/694/events","html_url":"https://github.com/aspnet/Home/issues/694","id":90320316,"number":694,"title":"Deployment fails due to file in use","user":{"login":"pekkah","id":822416,"avatar_url":"https://avatars.githubusercontent.com/u/822416?v=3","gravatar_id":"","url":"https://api.github.com/users/pekkah","html_url":"https://github.com/pekkah","followers_url":"https://api.github.com/users/pekkah/followers","following_url":"https://api.github.com/users/pekkah/following{/other_user}","gists_url":"https://api.github.com/users/pekkah/gists{/gist_id}","starred_url":"https://api.github.com/users/pekkah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pekkah/subscriptions","organizations_url":"https://api.github.com/users/pekkah/orgs","repos_url":"https://api.github.com/users/pekkah/repos","events_url":"https://api.github.com/users/pekkah/events{/privacy}","received_events_url":"https://api.github.com/users/pekkah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":47,"created_at":"2015-06-23T08:14:03Z","updated_at":"2016-12-22T01:10:41Z","closed_at":null,"body":"Any workaround for this problem when deploying to Azure web site from VSO build server vNext?\n\n```\nError Code: ERROR_FILE_IN_USE\nMore Information: Web Deploy cannot modify the file 'AspNet.Loader.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\n, or use the AppOffline rule handler for .Net applications on your next publish attempt.\nLearn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FILE_IN_USE.\n```\n\nI tried adding a restart azure website command before the deployment but this seems to be still creeping in too often.\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/268692119","html_url":"https://github.com/aspnet/Home/issues/694#issuecomment-268692119","issue_url":"https://api.github.com/repos/aspnet/Home/issues/694","id":268692119,"user":{"login":"davidebbo","id":556238,"avatar_url":"https://avatars.githubusercontent.com/u/556238?v=3","gravatar_id":"","url":"https://api.github.com/users/davidebbo","html_url":"https://github.com/davidebbo","followers_url":"https://api.github.com/users/davidebbo/followers","following_url":"https://api.github.com/users/davidebbo/following{/other_user}","gists_url":"https://api.github.com/users/davidebbo/gists{/gist_id}","starred_url":"https://api.github.com/users/davidebbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidebbo/subscriptions","organizations_url":"https://api.github.com/users/davidebbo/orgs","repos_url":"https://api.github.com/users/davidebbo/repos","events_url":"https://api.github.com/users/davidebbo/events{/privacy}","received_events_url":"https://api.github.com/users/davidebbo/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T01:10:41Z","updated_at":"2016-12-22T01:10:41Z","body":"Try setting `MSDEPLOY_RENAME_LOCKED_FILES=1` in the Azure App Settings for your app."}}
{"actor":{"display_login":"davidebbo"}}