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
An easy way to create a .NET Core Windows service is by using Peter Kottas' DotNetCore.WindowsService library.
The NuGet package is PeterKottas.DotNetCore.WindowsService. To install it using the Visual Studio Package Manager Console, just run
Install-Package PeterKottas.DotNetCore.WindowsService
There are good notes on how to get started, too.