I\'m porting a Net Framework 4 dll to Net Core. When porting my unit tests project I get an exception running some specific tests (not all).
System.IO
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.