in visual studio i have added
System.ServiceProcess.ServiceController
but get an error saying its not defined.
everywhere on net says it should work.
but it doesnt why not
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
the fix is to go to the project properties
references tab
and add
System.ServiceProcess
then it no longer errors.