Re: [Python.NET] System.BadImageFormatException' in Python.Runtime.dll

Denis Akhiyarov <[email protected]> Wed, 17 May 2017 21:47:46 -0500
Newsgroups gmane.comp.python.dotnet
Message-ID <CALxxJLSQgJ+F3aJk41YrMSyZ8bjnxZb0u873id9RRBk=kDNKjg@mail.gmail.com>
We need more info such as your Python version (python --version), .NET
target framework, Windows version and bitness, minimal reproducible VS
solution with all dependencies. It is likely that you are using 64-bit
version of pythonnet or CPython.

On Wed, May 17, 2017 at 6:50 PM, Mariano Phielipp <[email protected]>
wrote:

> I'm running this in Visual Studio 2015 compiled in x86 mode. But I'm still
> getting:
>
> 'EmbeddPython.vshost.exe' (CLR v4.0.30319: EmbeddPython.vshost.exe):
> Loaded 'C:\Users\mjphieli\Documents\Visual Studio
> 2015\Projects\EmbeddPython\EmbeddPython\bin\x86\Release\Python.Runtime.dll'.
> Cannot find or open the PDB file.
> 'EmbeddPython.vshost.exe' (CLR v4.0.30319: EmbeddPython.vshost.exe):
> Loaded '__CodeGenerator_Assembly'.
> Exception thrown: 'System.BadImageFormatException' in Python.Runtime.dll
> 'EmbeddPython.vshost.exe' (CLR v4.0.30319: EmbeddPython.vshost.exe):
> Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.
> Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'.
> Symbols loaded.
> The program '[56912] EmbeddPython.vshost.exe' has exited with code -1
> (0xffffffff).
>
> --
> Best Regards, Mariano
>
> _________________________________________________
> Python.NET mailing list - [email protected]
> https://mail.python.org/mailman/listinfo/pythondotnet
>
>

_________________________________________________
Python.NET mailing list - [email protected]
https://mail.python.org/mailman/listinfo/pythondotnet