title: Share views (.cshtml files) between projects in asp.net core solution
body: <p>I have a project which for various reasons have a number of controllers and views that are essentially the same. At the moment they are replicated between projects so there are several copies of each in each project.
  I was wondering if there was anyway to put these in a separate project (e.g. a class library project) and amend the View Locator capabilities (IViewLocationExpander?) or some other means to get it to look in a different project for these views.</p>
  
  <p>I know it was possible in “full” asp.net with a bit of hacking about and it was never very clean or elegant, so wondered if there was any better way with asp.net core?</p>
  
  <p>Thanks</p>