George George

George George

  • NA
  • 778
  • 0

Using System.ServiceProcess in console application

Jun 18 2008 9:41 PM

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)