Skip to content

webapp:Support AppOffline With Publish-AzureWebsiteProject #669

@martincostello

Description

@martincostello

Occasionally when publishing to an Azure Web App from Visual Studio Online an error similar to the following occurs:

Web Deploy cannot modify the file '{FILENAME}' 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.

The Publish-AzureWebsiteProject cmdlet should support a parameter with allows the AppOffline rule to be used, or indeed a way to pass arbitrary additional flags on to MSDeploy.

Metadata

Metadata

Assignees

Labels

App Servicesaka WebSitesService AttentionThis issue is responsible by Azure service team.feature-requestThis issue requires a new behavior in the product in order be resolved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions