I am trying to download data using C# .NET API and then feed the data into MATLAB 2018b 64-bits.
Initially, I have successfully downloaded the data using C# but not able to assembly the dll in MATLAB because the NuGet Package ThomsonReuters.Desktop.SDK.DataAccess.Signed is in 32-bits.
After reading this, I managed to install the ThomsonReuters.Desktop.SDK.DataAccess.Signed x64 package. The following error appears:
ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCResolutionException
HResult=0x80131500
Message=Unable to resolve type: ThomsonReuters.Desktop.SDK.DataAccess.IInternalDataServices
Source=ThomsonReuters.Desktop.SDK.DataAccess
StackTrace:
at ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCContainer.DelegateFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options)
at ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options)
at ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCContainer.Resolve[ResolveType](String name)
at ThomsonReuters.Desktop.SDK.DataAccess.DataServices.get_Instance()
at EikonTester.Program.Main(String[] args) in C:\Users\XUEWE614\source\repos\EikonTester\Program.cs:line 18
Inner Exception 1:
TinyIoCResolutionException: Unable to resolve type: ThomsonReuters.Desktop.SDK.DataAccess.IInternalDataServices
Inner Exception 2:
TinyIoCResolutionException: Unable to resolve type: ThomsonReuters.Desktop.SDK.DataAccess.UdapService
Inner Exception 3:
TinyIoCResolutionException: Unable to resolve type: ThomsonReuters.Desktop.SDK.DataAccess.Connection
Inner Exception 4:
TinyIoCResolutionException: Unable to resolve type: ThomsonReuters.Udap.Ipc.Managed.Common.BusAdapter.IEikonBus
Inner Exception 5:
FileNotFoundException: Could not load file or assembly 'ThomsonReuters.Udap.BusTools.dll' or one of its dependencies. The specified module could not be found.
I followed this, checked all four DLLs are presents in the bin folder and in 64-bits.
I have tried to use the Process Monitor to see where goes wrong but with no success. I am not sure which filter I should use to check the events.
the following is the packages file
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Common.Logging" version="2.1.2" targetFramework="net461" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net461" />
<package id="protobuf-net" version="2.0.0.668" targetFramework="net461" />
<package id="ThomsonReuters.Desktop.SDK.DataAccess.Signed.x64" version="1.8.4" targetFramework="net461" />
<package id="ThomsonReuters.Udap.Ipc.Signed.x64" version="2.10.5" targetFramework="net461" />
</packages>
Any suggestions about how I should proceed?