Creating a table in AzureCosmosDB : Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral

-1

I have a WPF Application build using .net 4.6.1 in that, I have already installed Newtonsoft.Json 9.0.1.

I have to integrate AzureCosmosDB for storing the data. To do this I Installed the below packages:

install Microsoft.Azure.Storage.Common 9.0.0.1 preview
install Microsoft.Azure.CosmosDB.Table 1.1.0
install Microsoft.Azure.CosmosDB.Table 1.22.0    

After Installed the above packages, I got the below error :

Error: Could not load file or assembly Microsoft.Azure.Storage.Common,
Version=9.0.0.1, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or 
one of its dependencies. The located assembly's manifest definition does not
match the assembly reference. (Exception from HRESULT: 0x80131040)

To solve the above error, degraded the versions of Microsoft.Azure.Storage.Common 9.0.0.1 preview to Microsoft.Azure.Storage.Common 8.6.0 preview after that I got the below error:

Error: Could not load file or assembly Microsoft.Azure.CosmosDB.Table,
Version=1.22.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of
its dependencies. The located assembly's manifest definition does not match
the assembly reference. (Exception from HRESULT: 0x80131040).

To solve the above error then degraded the versions of Microsoft.Azure.CosmosDB.Table 1.22.0 to Microsoft.Azure.CosmosDB.Table 1.19.0 After that I got the below error (Final Error Description):

Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0,
Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its
dependencies. The located assembly's manifest definition does not match
the assembly reference. (Exception from HRESULT: 0x80131040)
c#
.net-assembly
azure-cosmosdb
c#-7.0
asked on Stack Overflow Aug 17, 2018 by priyanka • edited Aug 17, 2018 by vikscool

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0