Reputation: 1984
Is there any way to pre-compile whole website during continuous deployment in Azure App Service (former Azure Websites)?
There are no related settings for publishing in Deployment source configuration UI.
Upvotes: 1
Views: 4395
Reputation: 43203
You should be able to achieve this using a Kudu custom deployment script.
This is discussed here, which has examples on how you might call aspnet_compiler.exe
to achieve that (which is the same way you'd do it locally).
Upvotes: 2