Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Hosting new .net Core 2.0 app as windows service while using exclusive .net core objects

$
0
0

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?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>