问题
According to this blog post, I can deploy vNext apps to Azure using Kudu. I've successfully tried it with vNext beta 1. However, it does not work with vNext beta 2.
Why can't I deploy with vNext beta 2? I thought the whole idea with vNext is that everything (including the CLR) is downloaded as NuGet packages.
回答1:
I just ran into this problem today and the following worked for me:
Set the following environment variables (app settings) in your Azure Web Site:
SCM_KRE_Version 1.0.0-beta2
SCM_KRE_CLR CoreCLR
Clarification SCM_KRE_CLR defaults to the "full" clr, only set SCM_KRE_CLR to CoreCLR if you want to run your website using the new CoreCLR, assuming your site targets ASPNETCORE50 (which has since been renamed to DNXCORE50 after beta3)

来源:https://stackoverflow.com/questions/28550153/deploying-asp-net-vnext-beta-2-on-azure-with-kudu