2
Answers

Using System.ServiceProcess in console application

George George

George George

16y
2.7k
1

Hello everyone,


I want to use System.ServiceProcess in a console based application -- other than Windows Service application. But when add statement like -- "using System.ServiceProcess", there is compile error like,

error CS0234: The type or namespace name 'ServiceProcess' does not exist in the namespace 'System' (are you missing an assembly reference?)

Does anyone know the root cause and how to solve it? :-)


thanks in advance,
George

Answers (2)