Skip to content

Commit 7c19cc7

Browse files
authored
This issue happens often and we get many cases
An email to the Azure Functions Discussion alias from today 12-AUG-2022 titled ' EV2 deployment with WEBSITE_RUN_FROM_PACKAGE' had this issue. There have been many. This change will reduce IPD as we get numerous cases on this as well.
1 parent 5123ab7 commit 7c19cc7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/azure-functions/run-functions-from-deployment-package.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ The following table indicates the recommended `WEBSITE_RUN_FROM_PACKAGE` options
5151
+ You can't use local cache when running from a deployment package.
5252
+ If your project needs to use remote build, don't use the `WEBSITE_RUN_FROM_PACKAGE` app setting. Instead add the `SCM_DO_BUILD_DURING_DEPLOYMENT=true` deployment customization app setting. For Linux, also add the `ENABLE_ORYX_BUILD=true` setting. To learn more, see [Remote build](functions-deployment-technologies.md#remote-build).
5353

54+
> [!NOTE]
55+
> WEBSITE_RUN_FROM_PACKAGE does not work with MSDeploy as described [here](https://github.com/projectkudu/kudu/wiki/MSDeploy-VS.-ZipDeploy). You will receive an error during deployment like `ARM-MSDeploy Deploy Failed`. Change /MSDeploy to /ZipDeploy and this error will be resolved.
56+
5457
### Adding the WEBSITE_RUN_FROM_PACKAGE setting
5558

5659
[!INCLUDE [Function app settings](../../includes/functions-app-settings.md)]

0 commit comments

Comments
 (0)