Integrating Nuget Package
Hi Team,
I have a requirement where I need to create JWT token from robotic desktop applications.I am trying to incorporate a nuget package for JWT token creation (System.IdentityModel.Tokens.Jwt). I have created component class library in .Net 4.5.
I have added the component class library dll and the other dependent dlls to openspan studio installation directory. Now I have added the component in my code.Though the code compiles fine but it is throwing runtime error with the following exception:
Exception Type: System.IO.FileLoadException
Message: "Could not load file or assembly 'Newtonsoft.Json, Version= Proprietary information hidden, 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)"
FileName: "Newtonsoft.Json, Version= Proprietary information hidden, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed"
FusionLog: "WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
"
Please suggest.
Regards,
Ritun