<tfoot id='C8Sqq'></tfoot>
    • <bdo id='C8Sqq'></bdo><ul id='C8Sqq'></ul>

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

      1. <small id='C8Sqq'></small><noframes id='C8Sqq'>

        .net Core 2.1 中缺少 System.Web.Http

        System.Web.Http missing in .net Core 2.1(.net Core 2.1 中缺少 System.Web.Http)
          <legend id='wbGpV'><style id='wbGpV'><dir id='wbGpV'><q id='wbGpV'></q></dir></style></legend>

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

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

                    <tbody id='wbGpV'></tbody>
                • <small id='wbGpV'></small><noframes id='wbGpV'>

                  本文介绍了.net Core 2.1 中缺少 System.Web.Http的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我的 .net core 2.1 项目中缺少 System.Web.Http.

                  System.Web.Http is missing in my .net core 2.1 project.

                  错误状态

                  错误 CS0234 名称空间System.Web"中不存在类型或名称空间名称Http"(您是否缺少程序集引用?)

                  Error CS0234 The type or namespace name 'Http' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)

                  请参考图片以获得更清晰

                  please refer the image for more clarity

                  推荐答案

                  System.Web.Http 在 dotnet core 中不可用,但可以通过安装以下 nuget 包来引用:Microsoft.AspNetCore.Mvc.WebApiCompatShim.dll.这将清除错误.

                  System.Web.Http is not available in dotnet core, but may be referenced by installing the following nuget package: Microsoft.AspNetCore.Mvc.WebApiCompatShim.dll. This will clear the error.

                  来源:https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httperror?view=aspnetcore-2.1

                  这篇关于.net Core 2.1 中缺少 System.Web.Http的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Multicast delegate weird behavior in C#?(C# 中的多播委托奇怪行为?)
                  Parameter count mismatch with Invoke?(参数计数与调用不匹配?)
                  How to store delegates in a List(如何将代表存储在列表中)
                  How delegates work (in the background)?(代表如何工作(在后台)?)
                  C# Asynchronous call without EndInvoke?(没有 EndInvoke 的 C# 异步调用?)
                  Delegate.CreateDelegate() and generics: Error binding to target method(Delegate.CreateDelegate() 和泛型:错误绑定到目标方法)

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

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

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

                          1. <tfoot id='kC7qT'></tfoot>