Deploying ASP.NET vNext beta 2 on Azure with Kudu

后端 未结 1 1379
失恋的感觉
失恋的感觉 2021-01-23 15:51

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

相关标签:
1条回答
  • 2021-01-23 16:29

    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) enter image description here

    0 讨论(0)
提交回复
热议问题