<i id='XKdUD'><tr id='XKdUD'><dt id='XKdUD'><q id='XKdUD'><span id='XKdUD'><b id='XKdUD'><form id='XKdUD'><ins id='XKdUD'></ins><ul id='XKdUD'></ul><sub id='XKdUD'></sub></form><legend id='XKdUD'></legend><bdo id='XKdUD'><pre id='XKdUD'><center id='XKdUD'></center></pre></bdo></b><th id='XKdUD'></th></span></q></dt></tr></i><div id='XKdUD'><tfoot id='XKdUD'></tfoot><dl id='XKdUD'><fieldset id='XKdUD'></fieldset></dl></div>

        <small id='XKdUD'></small><noframes id='XKdUD'>

        <legend id='XKdUD'><style id='XKdUD'><dir id='XKdUD'><q id='XKdUD'></q></dir></style></legend>
        <tfoot id='XKdUD'></tfoot>
          <bdo id='XKdUD'></bdo><ul id='XKdUD'></ul>

        Azure Function App 无法加载 IOptionsFormatter

        Azure Function App failing to load IOptionsFormatter(Azure Function App 无法加载 IOptionsFormatter)
      1. <small id='dUv2F'></small><noframes id='dUv2F'>

            <i id='dUv2F'><tr id='dUv2F'><dt id='dUv2F'><q id='dUv2F'><span id='dUv2F'><b id='dUv2F'><form id='dUv2F'><ins id='dUv2F'></ins><ul id='dUv2F'></ul><sub id='dUv2F'></sub></form><legend id='dUv2F'></legend><bdo id='dUv2F'><pre id='dUv2F'><center id='dUv2F'></center></pre></bdo></b><th id='dUv2F'></th></span></q></dt></tr></i><div id='dUv2F'><tfoot id='dUv2F'></tfoot><dl id='dUv2F'><fieldset id='dUv2F'></fieldset></dl></div>

                <legend id='dUv2F'><style id='dUv2F'><dir id='dUv2F'><q id='dUv2F'></q></dir></style></legend>
              1. <tfoot id='dUv2F'></tfoot>

                  <bdo id='dUv2F'></bdo><ul id='dUv2F'></ul>
                    <tbody id='dUv2F'></tbody>

                • 本文介绍了Azure Function App 无法加载 IOptionsFormatter的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个尝试在本地运行的 C# Azure Function App.几个月前它以前运行良好,但现在失败了:

                  I have a C# Azure Function App that I'm trying to run locally. It previously had worked fine some months ago but is now failing with the following:

                  发生主机错误
                  Microsoft.Azure.WebJobs.Extensions.Storage:无法从程序集Microsoft.Azure.WebJobs.Host,版本=3.0.3.0,文化=中性,PublicKeyToken=31bf3856ad364e35"加载类型Microsoft.Azure.WebJobs.Hosting.IOptionsFormatter".

                  A host error has occurred
                  Microsoft.Azure.WebJobs.Extensions.Storage: Could not load type 'Microsoft.Azure.WebJobs.Hosting.IOptionsFormatter' from assembly 'Microsoft.Azure.WebJobs.Host, Version=3.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

                  在某个时候,我已将 Azure Functions 和 Web 作业工具更新到最新版本 (15.10.20460.0).

                  At some point I had updated the Azure Functions and Web Jobs Tools to the latest version (15.10.20460.0).

                  在启动时,索引函数时出现问题,因此我将 Microsoft.NET.Sdk.Functions nuget 包引用更新为最新版本 (1.0.24),它现在为我提供了上述内容错误.

                  On startup, it was having problems indexing the functions so I updated the Microsoft.NET.Sdk.Functions nuget package reference to the latest version (1.0.24) which is now giving me the above error.

                  我还添加了对 Microsoft.Azure.WebJobs.Extensions.Storage 3.0.3 的 nuget 包引用,以解决同样出现的缺失 TableAttribute 错误.

                  I also added a nuget package reference to Microsoft.Azure.WebJobs.Extensions.Storage 3.0.3 to resolve the missing TableAttribute errors that appeared as well.

                  我检查了 bin 文件夹中具有以下版本的程序集:

                  I've checked the assemblies in the bin folder which have the following versions:

                  • Microsoft.Azure.WebJobs.Extensions.Storage.dll - v3.0.3.0
                  • Microsoft.Azure.WebJobs.Host.dll - v3.0.4.0

                  推荐答案

                  Microsoft.Azure.WebJobs.Extensions.Storage 的 Nuget 包参考从最新版本 - 3.0.3 更改为 3.0.2 解决了问题.

                  Changing the Nuget Package Reference for Microsoft.Azure.WebJobs.Extensions.Storage from the latest version - 3.0.3 to 3.0.2 resolves the issue.

                  现在运行函数项目成功启动,没有显示错误.

                  Running the function project now launches successfully with no errors displayed.

                  这篇关于Azure Function App 无法加载 IOptionsFormatter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Adding and removing users from Active Directory groups in .NET(在 .NET 中的 Active Directory 组中添加和删除用户)
                  set equality in linq(在 linq 中设置相等)
                  HashSet conversion to List(HashSet 转换为 List)
                  How to set timeout for webBrowser navigate event(如何为 webBrowser 导航事件设置超时)
                  Test whether two IEnumerablelt;Tgt; have the same values with the same frequencies(测试两个IEnumerablelt;Tgt;具有相同频率的相同值)
                  How do you determine if two HashSets are equal (by value, not by reference)?(您如何确定两个 HashSet 是否相等(按值,而不是按引用)?)
                    <tbody id='kIHbV'></tbody>

                  • <bdo id='kIHbV'></bdo><ul id='kIHbV'></ul>

                    <legend id='kIHbV'><style id='kIHbV'><dir id='kIHbV'><q id='kIHbV'></q></dir></style></legend>
                  • <i id='kIHbV'><tr id='kIHbV'><dt id='kIHbV'><q id='kIHbV'><span id='kIHbV'><b id='kIHbV'><form id='kIHbV'><ins id='kIHbV'></ins><ul id='kIHbV'></ul><sub id='kIHbV'></sub></form><legend id='kIHbV'></legend><bdo id='kIHbV'><pre id='kIHbV'><center id='kIHbV'></center></pre></bdo></b><th id='kIHbV'></th></span></q></dt></tr></i><div id='kIHbV'><tfoot id='kIHbV'></tfoot><dl id='kIHbV'><fieldset id='kIHbV'></fieldset></dl></div>
                          <tfoot id='kIHbV'></tfoot>
                          1. <small id='kIHbV'></small><noframes id='kIHbV'>