消息-Azure上的更新功能版本

Kzr*_*tof 1 c# azure azure-functions .net-standard-2.0

我已经将我的一些Azure函数升级到了.netstandard 2.0,但仍处于测试阶段。每当我直接从Visual Studio发布功能时,都会收到以下消息:

在此处输入图片说明

csproj包含我的功能的文件已经针对.netstandard 2.0。

在此处输入图片说明

在此处输入图片说明

这是功能应用程序中的设置:

在此处输入图片说明

如何“升级”本地功能的版本?

Jer*_*Liu 5

I have done some tests on my side and reproduce the message you got. Just like @Connor has said, for function in beta version, the csproj file should include AzureFunctionsVersion as the illustration shows.

在此处输入图片说明

一旦AzureFunctionsVersion参数丢失,尽管使用,该函数仍将被识别为使用运行时〜1 TargetFramework。因此,当项目发布到门户网站的beta功能应用程序中时,它将使我们想起版本更改。