asp.net mvc - Could not load file or assembly 'System.Net.Http.Primitives, Version=1.5.0.0 -


i developing web application uploading file on google drive. whenever execute connect method throw error.

i have tried like. http://wordpress.kjetil-hartveit.com/2014/06/04/google-api-nightmare-how-i-fixed-the-could-not-load-file-or-assembly-system-net-http-primitives-version1-5-0-0-exception/

error showing in downloaded dll

powershell cmdlet missing assembly google api

but still nothing working.

<!-- snippet web.config --> <dependentassembly>     <assemblyidentity name="system.threading.tasks" publickeytoken="b03f5f7f11d50a3a" culture="neutral" />     <bindingredirect oldversion="0.0.0.0-2.6.9.0" newversion="2.6.9.0" /> </dependentassembly> <dependentassembly>     <assemblyidentity name="system.net.http" publickeytoken="b03f5f7f11d50a3a" culture="neutral" />     <bindingredirect oldversion="0.0.0.0-2.2.22.0" newversion="2.2.22.0" /> </dependentassembly> <dependentassembly>     <assemblyidentity name="system.runtime" publickeytoken="b03f5f7f11d50a3a" culture="neutral" />     <bindingredirect oldversion="0.0.0.0-2.6.9.0" newversion="2.6.9.0" /> </dependentassembly> <dependentassembly>     <assemblyidentity name="system.net.http.primitives" publickeytoken="b03f5f7f11d50a3a" culture="neutral" />     <bindingredirect oldversion="0.0.0.0-2.2.22.0" newversion="2.2.22.0" /> </dependentassembly>  <!-- <runtime> tag should -->  <runtime>     <assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1">         <dependentassembly>             <assemblyidentity name="system.threading.tasks" publickeytoken="b03f5f7f11d50a3a" culture="neutral" />             <bindingredirect oldversion="0.0.0.0-2.6.9.0"`enter code here` newversion="2.6.9.0" />         </dependentassembly>         <dependentassembly>             <assemblyidentity name="system.net.http" publickeytoken="b03f5f7f11d50a3a" culture="neutral" />             <bindingredirect oldversion="0.0.0.0-2.2.22.0" newversion="2.2.22.0" />         </dependentassembly>         <dependentassembly>             <assemblyidentity name="system.runtime" publickeytoken="b03f5f7f11d50a3a" culture="neutral" />             <bindingredirect oldversion="0.0.0.0-2.6.9.0" newversion="2.6.9.0" />         </dependentassembly>         <dependentassembly>             <assemblyidentity name="system.net.http.primitives" publickeytoken="b03f5f7f11d50a3a" culture="neutral" />             <bindingredirect oldversion="0.0.0.0-2.2.22.0" newversion="2.2.22.0" />         </dependentassembly>     </assemblybinding> </runtime> 


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -