azure - 运行 Azure 函数将出现 .net 4.7.1 安装提示对话框

标签 azure azure-functions azure-functions-runtime

当我尝试在我们的一台计算机上运行(调试)Visual Studio 2017 中的功能时,会弹出以下对话框!

enter image description here

该项目的目标框架是<TargetFramework>net461</TargetFramework> 。由于某些原因,我无法安装 .NET 4.7.1,现在我完全迷失了。我确信它过去在同一台机器上运行过。可能是其中一项更新造成的。

知道如何解决吗?

最佳答案

这是因为最新版本的Azure Functions Tools for Visual Studio现在需要 .NET Framework 4.7.1(截至 2018 年 2 月)。

请注意,这不会影响您编译所针对的目标框架 - 只会影响您的代码运行所针对的目标框架。同样,当您在 Azure 中运行时,.NET 运行时版本可以是 .NET Framework 4.7.1(在撰写本文时)。

关于azure - 运行 Azure 函数将出现 .net 4.7.1 安装提示对话框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49109990/

相关文章:

php - Azure - 从 PHP 为 Blob 生成 SAS token

AZURE IOT 中心状态在 Azure 门户中显示为暂停

entity-framework - 不支持关键字 : 'metadata' error in Azure function

azure-functions - 我的 Azure Functions 应用程序是否配置为在进程内或进程外(隔离)运行?

c# - Azure Functions 绑定(bind)重定向

azure - 是否可以在 Azure VM 上托管 200 多个网站

Azure 事件网格触发器函数重试 500

Azure函数: Could not load file or assembly Microsoft. IdentityModel.Tokens,版本=5.2.1.0

c# - Azure 函数 : Queue Trigger is expecting Base-64 messages and doesn't process them correctly

Azure Function 长持续时间和应用服务计划,持久功能