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

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

      <bdo id='mzdDF'></bdo><ul id='mzdDF'></ul>
    <tfoot id='mzdDF'></tfoot>

      <legend id='mzdDF'><style id='mzdDF'><dir id='mzdDF'><q id='mzdDF'></q></dir></style></legend>

      1. 在 .NetCore 项目中引用 .Net 4.6.2 项目(VS2017 15.4.4)

        Reference a .Net 4.6.2 project in a .NetCore project (VS2017 15.4.4)(在 .NetCore 项目中引用 .Net 4.6.2 项目(VS2017 15.4.4))

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

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

            <legend id='uNJdw'><style id='uNJdw'><dir id='uNJdw'><q id='uNJdw'></q></dir></style></legend>
            • <bdo id='uNJdw'></bdo><ul id='uNJdw'></ul>
                • <tfoot id='uNJdw'></tfoot>
                  本文介绍了在 .NetCore 项目中引用 .Net 4.6.2 项目(VS2017 15.4.4)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我有一个 .Net core 2.0 项目,它需要在 Visual Studio 2017 (v 15.4.4) 的同一解决方案中引用 .Net 4.6.2 项目(图片上的 BLL 和实体).我看到

                  当我尝试使用在 .Net 4.6.2 项目中定义的类时,出现以下错误:无法解析符号 'BLL'"(用于 BLL 项目).

                  您知道如何在 net core 2.0 项目中使用 .Net 4.6.2 项目吗?

                  解决方案

                  我遇到了两个问题:

                  1. 正如@Jamie Taylor 所说,我需要降级到 .NET Framework 4.6.1 才能与 .NET core 2.0 兼容.
                  2. 由于降级,一些 Nuget 包与 .NET Framework 版本 4.6.1 发生冲突.EF 6.2(使用 .NET Framework 4.6.2)就是这种情况.所以我降级了所有需要的包,然后删除了packages"、bin"和obj"文件夹并进行了 Nuget 还原.

                  I have a .Net core 2.0 project which needs to reference a .Net 4.6.2 projets (BLL and Entities on the picture) in the same solution on Visual Studio 2017 (v 15.4.4). I saw this post, but event with .Net version 4.6.2, I still have the problem.

                  In my .Net core 2.0 project references, I have:

                  When I try to use a class defined in .Net 4.6.2 projects, I have following error: "Cannot resolve symbole 'BLL'" (for BLL project).

                  Do you have any idea what to do to use .Net 4.6.2 project in a net core 2.0 project?

                  解决方案

                  I got two problems:

                  1. As said @Jamie Taylor, I needed to downgrade to .NET Framework 4.6.1 to be compatible with .NET core 2.0.
                  2. Because of downgrading, some Nuget packages where conflicting with the .NET Framework version 4.6.1. It was the case of EF 6.2 (which uses .NET Framework 4.6.2). So I downgraded all needed packages then deleted "packages", "bin" and "obj" folders and did a Nuget Restore.

                  这篇关于在 .NetCore 项目中引用 .Net 4.6.2 项目(VS2017 15.4.4)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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() 和泛型:错误绑定到目标方法)
                  • <legend id='ICheF'><style id='ICheF'><dir id='ICheF'><q id='ICheF'></q></dir></style></legend>

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

                        <tbody id='ICheF'></tbody>
                    2. <tfoot id='ICheF'></tfoot>

                          <bdo id='ICheF'></bdo><ul id='ICheF'></ul>

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