Windows services
I need to write a windows service that executes an application after a certain amount of time. I checked the code on MSDN and found an example where the System.ServiceProcess.ServiceBase class is subclassed.
I did the following.
- created a new C # console application
- copied the code from the MSDN example
- Run
I am getting the following error
The type or namespace name "ServiceProcess" does not exist in the namespace "System" (are you missing an assembly reference?)
As I copied the example from MSDN, I have no idea why the code is still not working. This is my first time writing services and I love some of the guidelines.
thnkx!
+2
user277465
a source
to share
3 answers