1

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.

4

1 回答 1

1

我今天刚遇到这个问题,以下对我有用:

在 Azure 网站中设置以下环境变量(应用设置):

SCM_KRE_Version 1.0.0-beta2

SCM_KRE_CLR CoreCLR

澄清SCM_KRE_CLR 默认为“完整” clr,如果您想使用新的 CoreCLR 运行您的网站,则仅将 SCM_KRE_CLR 设置为 CoreCLR,假设您的网站以 ASPNETCORE50 为目标(在 beta3 之后已重命名为 DNXCORE50) 在此处输入图像描述

于 2015-02-20T01:35:29.567 回答