I am attempting to deploy and host my first .Net Core app as a windows service, but am running into an issue. Once I set up a .Net Framework (net461) as my TargetFramework I am getting errors due to my Microsoft.AspNetCore.All (2.0.5) component's references to various View Component objects in my project.
I suspect that because View Components are exclusive to .Net Core, then I can not host as a windows service, but I could be missing some other dependency that is needed. I can try hosting in Azure, but was curious, since this is my first .Net Core project. Any ideas?