I\'m writing an MVC website using ASP.NET Core 2.0.
In the ASP.NET Core project (let\'s call it Web), I reference a .NET Standard 2 project in the same
Well my question was close to one marked as duplicate here but to solve it requires different tactic.
Thanks to comment from "Federico Dipuma" and the answer given here I was able to solve this problem.
You should edit the Service.csproj file and add PrivateAssets="All" to ProjectReference keys you don't want to flow to top.