-
Notifications
You must be signed in to change notification settings - Fork 218
System.Net.Http not found exception
linvi edited this page Oct 30, 2017
·
1 revision
By default Tweetinvi should install properly to ALL type of projects with the proper .NET targets.
In some cases the installation of the System.Net.Http
dependencies can result in dependency conflicts over the version of the DLL to use.
If you encounter an Exception stating that the library System.Net.Http
could not be found, please add the following configuration in your web.config
.
<dependentAssembly>
<assemblyIdentity name="System.Net.Http" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.1.1" newVersion="4.1.1.1" />
</dependentAssembly>
These lines should be added under the <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
node.