C
cyshao
How to debug a service ?
Hi, friends:
I created a new C# service project and wrote some log in OnStart()
function.
But when I type F5 to debug it, system prompt me
"Can't debug a service program by debugger. Please use installutil.exe
to install it."
So, I tried to use " installutil MyPorgram.exe". But there is an error
written in logfile.
I don't know what does "public installers " mean ? What shall I do to
solve that?
Thanks
Charles Shao
------------------------------Log File -----------------------------------
No public installers with the RunInstallerAttribute.Yes attribute could be
found in the
d:\project\directoryservices\directoryservices\agent\bin\deubgunittests\asti
..bos.directoryservices.agent.exe assembly.
Remove InstallState file because there are no installers.
Hi, friends:
I created a new C# service project and wrote some log in OnStart()
function.
But when I type F5 to debug it, system prompt me
"Can't debug a service program by debugger. Please use installutil.exe
to install it."
So, I tried to use " installutil MyPorgram.exe". But there is an error
written in logfile.
I don't know what does "public installers " mean ? What shall I do to
solve that?
Thanks
Charles Shao

------------------------------Log File -----------------------------------
No public installers with the RunInstallerAttribute.Yes attribute could be
found in the
d:\project\directoryservices\directoryservices\agent\bin\deubgunittests\asti
..bos.directoryservices.agent.exe assembly.
Remove InstallState file because there are no installers.