I'm trying to develop a plugin using Google Plus api for NopCommerce project. I enabled Plus api on google console, and used the api using Nuget to my plugin.
PlusService plus = new PlusService(
                 new Google.Apis.Services.BaseClientService.Initializer()
                 {
                     ApiKey = "api_key_here"
                 });
            if (plus != null)
            {
                activitiesresource.listrequest list = plus.activities.list("user_id_here", new activitiesresource.listrequest.collectionenum());
                activityfeed feed = list.execute();
}
I'm getting the following error:
Could not load file or assembly 'System.Net.Http.Primitives, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f711d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
I tried the steps on this question: Could not load file or assembly System.Net.Http.Primitives. Located assembly's manifest definition does not match the assembly reference
I tried updating packages with selecting prerelease option of nuget and adding <dependentAssembly> to web.config of plugin, to web project, to machine.config, to app.config of plugin and all combinations. But still no luck.
Any help would be appreciated.
 
     
    