title: asp.net core razor class library pages not always accessible after building
body: <p>I have an Asp.Net Core 2.1 final project using a razor page dll in VS 2017 15.7.3 When testing the razor pages in the dll are not always found when testing in the browser. Usually a complete rebuild and test will allow the page to be found.</p>
  
  <p>The layout is as follows:</p>
  
  <p>Razor DLL:</p>
  
  <pre><code>Pages/Home/myHome.cshtml
  </code></pre>
  
  <p>Web app:</p>
  
  <pre><code>Pages/Index.cshtml
  </code></pre>
  
  <p>The URL / will always work. The URL <code>/Home/myHome</code> only works one a complete clean\rebuild. A simple build and test, and myHome pages won't be found.</p>
  
  <p>Also, publishing to an azure web app won't find the page either.</p>
  
  <p>So, it appears something is working and not working based on how something is built. Any ideas or is an RC type bug?</p>
  
  <p>thanks</p>