1

我正在尝试安装刚刚在 Visual Studio 2008 中创建的 Windows 服务。Install.log 文件一次又一次地告诉我以下信息:

No public installers with the RunInstallerAttribute.Yes attribute could be found in the [correct path to my assembly] assembly.

我的服务有一个安装程序“serviceInstaller1”,它是公共的并且具有正确的服务名称。它还有一个也是公共的 serviceProcessInstaller1。

为什么 InstallUtil 在我的服务程序集中找不到安装程序?

4

1 回答 1

-2

当 service.exe 在 C 驱动器上时,一切正常。

于 2011-10-20T13:17:39.073 回答