查找/设置 Azure Functions Core Tools 版本 Visual Studio 使用

问题描述 投票:0回答:1

尝试在本地 VS2022 中运行 Azure 函数时出现以下错误。

This version of the Azure Functions Core Tools requires your project to reference version 4.5.0 or later of Microsoft.NET.Sdk.Functions. 

可以通过更新 Microsoft.NET.Sdk.Functions 的版本来修复,但这也意味着我需要花费相当多的时间来测试,因为代码覆盖率不够好。

作为短期解决方案,我想知道如何找到 VS 正在使用的 Azure Functions Core Tools 版本,以及如何回滚到之前的版本?

azure-functions visual-studio-2022
1个回答
0
投票

我也有同样的问题,我们有数百个 Azure Functions 与这些版本一起使用,尽管我们正在迁移到 .net 8,但我们需要对现有函数进行最少的更新,而今天刚刚发布的这个确实不让我们做任何事。 这涉及数百万美元的损失。

© www.soinside.com 2019 - 2024. All rights reserved.