How to fix “No way to resolve conflict between” error?

后端 未结 4 600
-上瘾入骨i
-上瘾入骨i 2021-02-06 21:35

Recently added log4net.dll to our data object. Our data object builds perfectly but when you try to build anything that references our data object you get the following error: <

4条回答
  •  抹茶落季
    2021-02-06 21:53

    You will get this message as well when running a net framework v4.6.2 application that references netstandard2_0 libraries. Net462 does not fully support netstandard and thus quite some dlls are duplicated with different versions. Even if you don't reference something (e.g. System.Drawing) you might see conflicts. Consider upgrading to a higher net framework version (I've just changed to 4.7.2, which resolved this).

提交回复
热议问题