Windows services Installutil一直告诉我“找不到公共安装程序”。有什么想法吗?

Windows services Installutil一直告诉我“找不到公共安装程序”。有什么想法吗?,windows-services,installutil,Windows Services,Installutil,我正在尝试安装刚刚在VisualStudio2008中创建的Windows服务。Install.log文件反复告诉我以下信息: No public installers with the RunInstallerAttribute.Yes attribute could be found in the [correct path to my assembly] assembly. 我的服务有一个安装程序serviceInstaller1,它是公共的,并且具有正确的服务名称。它还有一个也是公共的

我正在尝试安装刚刚在VisualStudio2008中创建的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在我的服务程序集中找不到安装程序?

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