Я пытаюсь установить службу Windows, используя Installutil.exe и я получаю сообщение об ошибкеSystem.BadImageFormatException: Не удалось загрузить файл или сборку (из Installutil.exe)
System.BadImageFormatException: Could not load file or assembly '
{xxx.exe}
' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Что это дает?
EDIT: (Не по OP) Полный сообщение извлекается из DUP получать намного больше хитов [для googleability]:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>InstallUtil.exe C:\xxx.exe Microsoft (R) .NET Framework Installation utility Version 4.0.30319.1 Copyright (c) Microsoft Corporation. All rights reserved.
Exception occurred while initializing the installation: System.BadImageFormatException: Could not load file or assembly 'file:///C:\xxx.exe' or one of its dependencies. An attempt was made to load a program with an incorrect format..
Эта ссылка, похоже, ушла. Не удивительно. 6 лет назад. – 2014-10-30 19:41:44
Здесь он находится на Archive.org https://web.archive.org/web/20100527204545/http://www.issociate.de/board/post/280574/Installutil_System.BadImageFormatException.html – Epaga 2014-11-14 08:24:00