.Net Core 2.0 Windows Service

前端 未结 10 1353
谎友^
谎友^ 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:23

    For those finding this question but want to implement a windows service with .NET Core 3.x

    https://csharp.christiannagel.com/2019/10/15/windowsservice/

    A combination of the generic host plus the background service plus the commandline tool sc and you have a windows service.

提交回复
热议问题