试图在W7 64位上运行,在Visual C#2008 Express上使用.Net 3.5,我尝试在Framework和Framework64文件夹中运行installutil.exe,两者都抛出相同的错误。 3.5文件夹没有installutil.exe和4.0两个文件夹都不起作用。InstallUtil引发错误信息
在IDE中,没有发布版本,但发布,他们是一样的吗?
我按照教程从这篇文章: http://www.switchonthecode.com/tutorials/creating-a-simple-windows-service-in-csharp
出了什么问题?
D:\install>C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe setup.e
xe
Microsoft (R) .NET Framework Installation utility Version 2.0.50727.4927
Copyright (c) Microsoft Corporation. All rights reserved.
Exception occurred while initializing the installation:
System.BadImageFormatException: Could not load file or assembly 'file:///D:\inst
all\setup.exe' or one of its dependencies. The module was expected to contain an
assembly manifest..
有没有人使用这个工作? – user1040975 2017-07-21 16:51:44