Core.Winapi error at runtime
Posted: Tue May 29, 2018 10:40 am
Hi,
We are currently working on an internal tool using ranorex Dlls. We've had a request to incorporate the dlls into the Exe. So far we have achived a successful build using Fody-Costura package in Studio, however at runtime we are seeing this error:
Error Exception : Could not load file or assembly 'Ranorex.Core.WinApi, Version=8.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a' or one of its dependencies. Attempt to load an unverifiable executable with fixups (IAT with more than 2 sections or a TLS section.) (Exception from HRESULT: 0x80131019)
we seem to be including all we should for the code to work. And referring to the correct dlls respectively for x86 or x64. (I'm working on the x64 version). I'm not quite sure how to debug further from here?
Any thoughts appreciated (other than making sure they files are local location to the exe, which is what we are trying to avoid)
Thanks
We are currently working on an internal tool using ranorex Dlls. We've had a request to incorporate the dlls into the Exe. So far we have achived a successful build using Fody-Costura package in Studio, however at runtime we are seeing this error:
Error Exception : Could not load file or assembly 'Ranorex.Core.WinApi, Version=8.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a' or one of its dependencies. Attempt to load an unverifiable executable with fixups (IAT with more than 2 sections or a TLS section.) (Exception from HRESULT: 0x80131019)
we seem to be including all we should for the code to work. And referring to the correct dlls respectively for x86 or x64. (I'm working on the x64 version). I'm not quite sure how to debug further from here?
Any thoughts appreciated (other than making sure they files are local location to the exe, which is what we are trying to avoid)
Thanks