Why my C# does not have System.ServiceProcess Library?

£可爱£侵袭症+ 提交于 2019-12-01 02:22:19

System.ServiceProcess namespace belongs on System.ServiceProcess.dll and it doesn't added as a reference by default.

For this, in the solution window, right click on "References" and choose "Add Reference.." Go to the .NET tab, and double click on System.ServiceProcess.dll.

This assembly is probably in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 folder.

You need to add a reference to the corresponding .dll as well.

Right click on the project -> Add Reference -> Assemblies -> Framework -> System.ServiceProcess

you should add this from framework list Right click on the project -> Add Reference -> search under "Assemblies" -> select->OK

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!