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

Jan MontanoRank #1,295 · 1.3K reputationPosted Jun 18, 2008, 7:20 PM EDT
System = System.Data.dll
ServiceProcess = System.ServiceProcess.dll
George GeorgeRank #1,736 · 870 reputationPosted Jun 18, 2008, 8:35 PM EDT
Thanks Jan,
Question answered.
regards,
George