tdsharp: [Azure] Unable to load DLL 'tdjson.dll' or one of its dependencies
The app logged this error when deploying in azure web app service. Any ideas?
System.DllNotFoundException: Unable to load DLL ‘tdjson.dll’ or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E) at TdLib.Bindings.WindowsBindings.td_json_client_create() at TdLib.TdJsonClient…ctor() at TdLib.TdClient…ctor()
<TargetFramework>netcoreapp2.2</TargetFramework>
<PackageReference Include="TDLib" Version="1.6.0" />
<PackageReference Include="tdlib.native" Version="1.6.0" />
I can see the dll in the machine
The service is configured on 64 bit
Regards,
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21 (8 by maintainers)
Thanks bro, I forgot I have only compiled
tdjson.dll
for windows , It works fine after installtdlib.native
.I’m sorry, I’ve been wrong earlier. Now it looks for
vcruntime140_1.dll
which is part of the combined VS2015, 2017 and 2019 runtime. Please try that one.I have reported the issue to tdlib.native: https://github.com/ForNeVeR/tdlib.native/issues/29.