Hallo zusammen,
ich habe eine Solution die aus einer Konsolenanwendung in C# (my.exe) und einer Klassenbibliothek in VB (my_framework.dll) besteht. Kompiliert wird das mit der Einstellung "Any CPU". Auf einem 32Bit Betriebssystem funktioniert alles wunderbar, nur auf einem 64Bit System machte es Probleme:
Wenn ich das mit einer Exception abfange kommt diese Fehlermeldung:
"Es wurde versucht, eine Datei mit einem falschen Format zu laden (Ausnahme von HRESULT: 0x8007000B)"
Ich habe schon versucht das auf 64bit zu kompilieren, aber es kommt die gleiche Meldung. Auf allen 32Bit Windowssystemen geht, auf allen 64Bit kommt die Fehlermeldung.
Hat jemand eine Idee?
Viele Grüße
Ralf
ich habe eine Solution die aus einer Konsolenanwendung in C# (my.exe) und einer Klassenbibliothek in VB (my_framework.dll) besteht. Kompiliert wird das mit der Einstellung "Any CPU". Auf einem 32Bit Betriebssystem funktioniert alles wunderbar, nur auf einem 64Bit System machte es Probleme:
Code:
Problemereignisname: CLR20r3 Problemsignatur 01: my.exe Problemsignatur 02: 1.0.0.0 Problemsignatur 03: 4c5570ee Problemsignatur 04: my_framework Problemsignatur 05: 1.0.0.0 Problemsignatur 06: 4c52bbb0 Problemsignatur 07: 27 Problemsignatur 08: 1 Problemsignatur 09: System.BadImageFormatException Betriebsystemversion: 6.1.7600.2.0.0.16.7 Gebietsschema-ID: 1031
"Es wurde versucht, eine Datei mit einem falschen Format zu laden (Ausnahme von HRESULT: 0x8007000B)"
Ich habe schon versucht das auf 64bit zu kompilieren, aber es kommt die gleiche Meldung. Auf allen 32Bit Windowssystemen geht, auf allen 64Bit kommt die Fehlermeldung.
Hat jemand eine Idee?
Viele Grüße
Ralf
Comment