.Net Core 2.0 Windows Service

前端 未结 10 1369
谎友^
谎友^ 2021-01-30 01:25

I\'m trying to build a Windows Service in .Net Core 2.0 but I\'ve been banging my head on the wall for a full day and no progress at all. Everything seems to be using Core 1.0/1

10条回答
  •  醉酒成梦
    2021-01-30 02:05

    As Microsoft released Microsoft.Windows.Compatibility, I would use it, as it seem to be best for future use.

    Simple example of self installing service is here https://github.com/janantos/service_core

提交回复
热议问题