错误内容:

The type 'System.ServiceProcess.ServiceBase' is defined in an assembly that is not referenced.

You must add a reference to assembly 'System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

解决方法:

这是由于没有添加服务引用的关系,请添加对System.ServiceProcess对象的引用即可.

相关文章:

  • 2021-09-07
  • 2022-12-23
  • 2021-06-13
  • 2022-02-12
猜你喜欢
  • 2022-12-23
  • 2021-07-03
  • 2022-01-19
  • 2022-12-23
相关资源
相似解决方案