c# - Google Drive API Could not load file or assembly 'System.Net.Http.Primitives, Version=1.5.0.0 -


this issue continues problem. see several similar posts couple of years old.
have referenced google apis via nuget , am, quite frankly, in "nuget hell". first, rant, why many assemblies , references when use nuget, purpose of .net framework? example, why see copy of system.io dll in /bin folder? struggled awhile website run of code. after upgraded of assemblies 4.0, , after ran updates on local .net install running on windows 8.1, have local dev website working again. when call page on site calls google drive assembly code, error:

could not load file or assembly 'system.net.http.primitives, version=1.5.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a' or 1 of  dependencies. located assembly's manifest definition not match assembly reference. (exception hresult: 0x80131040) 

i've been round , round suggestions map assemblies post: google drive sdk system.net.http.primitives version 1.5.0.0 instead of 2.1.10.0 , either doesn't work, or not have correct assembly mappings. i'm @ loss.

i have compiled google drive code , assembly separate of web application assemblie(s). google drive code working perfect , have issue when try reference project web application.

i can't find additional tips here or google. stuck.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -