Yogendra Bhardwaj

Yogendra Bhardwaj

  • NA
  • 920
  • 683.9k

servicecontroller class error in windows app

May 22 2017 1:42 AM
Hi,
 
While I am using example code(provide in link below) on a console application, its working fine but when I am trying to use same on windows store app it giving error as below:
 
Error CS7069 Reference to type 'Component' claims it is defined in 'System', but it could not be found AllServicesApp C:\Users\Yogendra\documents\visual studio 2015\Projects\AllServicesApp\AllServicesApp\MainPage.xaml.cs 44 Active
 
 
https://msdn.microsoft.com/en-us/library/system.serviceprocess.servicecontroller(v=vs.110).aspx 
 
any help appreciated.