Deploying ASP.NET vNext beta 2 on Azure with Kudu

和自甴很熟 提交于 2019-12-20 04:37:21

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!