【发布时间】:2021-06-21 12:52:54
【问题描述】:
我有一个简单的 Azure 函数,只需要将一些 json 反序列化为具有注释的对象
我得到了错误
'System.ComponentModel.Annotations, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
我该如何解决这个问题?这是使用 Azure Functions v3 的 .NET Core 3.1
我正在使用一个新的项目模板,所以这是 Azure Functions
鉴于这是一个 Azure 函数,它的 appsettings.json 文件不支持 .config,因此我不确定如何实施涉及破解程序集绑定重定向的修复
【问题讨论】:
标签: azure annotations azure-functions