In my case, I already had System.Runtime.InteropServices.RuntimeInformation installed, but it continued to give me the same error. Either complained that 4.0.0.0 was not found, or if I updated app.config to 4.3, he complained that 4.3.0.0 was missing.
However, after uninstalling and reinstalling several packages, it started working, and although version 4.3 of System.Runtime.InteropServices.RuntimeInformation was installed, version 4.0.1.0 was required for app.config.
<dependentAssembly> <assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> </dependentAssembly>
I have no idea why, but it finally works for me.
source share