A
Andreas Håkansson
Hi,
So I'm trying to convert an existing Console test project (just used the
console part for output) into a Windows Service application. How ever, even
though I've changed the project to Windows Application under Output Type,
added a class and derived it from ServiceBase, added an installer using the
"add installer" link on the property page. Set all the necessary propertoes
on both the service and installer, built the project and tried installing it
with installutil.exe I keep getting
"No public installers with the RunInstallerAttribute.Yes attribute could be
found"
I have checked, the attribute is on the Project Installer and it's set to
true. I even created a new Windows Service project from scratch and made
sure it would install, then I copied the EXACT files over to my console
application, with the same results. I have checked all properties (class and
project) that I can think of with the same results. Sure I could move the
files from the old console project over to the service projects that worked,
but I would like to figure out WHY this is happening (you know; learning
experience, hehe).
Any suggestions what I'm obviously missing out here? I've tried doing it 10
times and I can't get it to work.
So I'm trying to convert an existing Console test project (just used the
console part for output) into a Windows Service application. How ever, even
though I've changed the project to Windows Application under Output Type,
added a class and derived it from ServiceBase, added an installer using the
"add installer" link on the property page. Set all the necessary propertoes
on both the service and installer, built the project and tried installing it
with installutil.exe I keep getting
"No public installers with the RunInstallerAttribute.Yes attribute could be
found"
I have checked, the attribute is on the Project Installer and it's set to
true. I even created a new Windows Service project from scratch and made
sure it would install, then I copied the EXACT files over to my console
application, with the same results. I have checked all properties (class and
project) that I can think of with the same results. Sure I could move the
files from the old console project over to the service projects that worked,
but I would like to figure out WHY this is happening (you know; learning
experience, hehe).
Any suggestions what I'm obviously missing out here? I've tried doing it 10
times and I can't get it to work.