Azure函数2.0依赖注入错误

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

在Azure Function 3.0之前,我的应用正常运行,但是在Microsoft更新之后。即使我将其部署在Azure上,Function应用程序也不起作用,它将返回依赖项注入错误。为什么MS升级版本会破坏现有版本?我真的很沮丧enter image description here

azure .net-core azure-functions asp.net-core-2.0 azure-durable-functions
1个回答
0
投票

只需重新安装/更新以下软件包:

<PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.0.0" />
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions" Version="3.0.5" />
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="3.0.3" />
© www.soinside.com 2019 - 2024. All rights reserved.