Found conflicts between System.Net.Http

前端 未结 9 1426
一整个雨季
一整个雨季 2020-12-08 07:12

I have several projects in my VS solution. Whenever I add \"System.Net.Http\" NuGet package to one it shows as version 4.2.0.0. Then I do the same and add same NuGet Package

9条回答
  •  猫巷女王i
    2020-12-08 07:28

    I tried out various solutions (removing the dependentAssembly OR specifying the binding redirect as well). None of them worked.

    However, the only solution which worked for me was to explicitly set Specific Version for System.Net.Http (or whatever DLL giving you version issues) to False from Visual Studio.

提交回复
热议问题