HRESULT: 0x80131040 : Could not load file or assembly or one of its dependencies


I have strange symptoms in my project

HRESULT: 0x80131040 occured [Microsoft.Azure.Amqp, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35']

<assemblyIdentity name="Microsoft.Azure.Amqp" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="" newVersion="" />

No problem in my PC environment(Win10) also Win7

Problems arise in different device(Win10).

I tried to upgrade Nuget version, but prob still remain

asked on Stack Overflow Jun 19, 2020 by JH L • edited Jun 19, 2020 by JH L

1 Answer



In case [Problems arise in different device(Win10).] There is no Application.exe.config file

I attached additional config file, it worked.

but still wonder why this problem doesn't arise at Win7(No config file)...

answered on Stack Overflow Jun 19, 2020 by JH L

User contributions licensed under CC BY-SA 3.0