title: MVC can't find Views after converting to ASPNET Core 3.1
body: <p>We are converting an MVC/Angular web site from ASPNET Core 2.2 to ASPNET Core 3.1. I have got the build to run with no errors or warnings, but when it starts up (in Visual Studio 2019), it looks for Home/Index, finds the controller fine, and looks for the Home/Index View, but it fails to find it even though it is there (in Views/Home/Index.cshtml), right where it's supposed to be (and right where it's been for the several months that we have been developing this site.  I have it now reduced to a test case that I can set the web project file  to netcoreapp2.2 and the site runs fine, then stop it and change the  to netcoreapp3.1, with no other changes, and it fails.  The errors are exactly what you would expect if the file were missing:</p>
  <blockquote>
  <p>System.InvalidOperationException: The view 'Index' was not found. The following locations were searched:</p>
  <p>/Views/Home/Index.cshtml</p>
  <p>/Views/Shared/Index.cshtml</p>
  <p>/Pages/Shared/Index.cshtml</p>
  </blockquote>
  <p>But the file is there!  I'm completely baffled.</p>
  <p>Can anyone give me a hint as to what's going on?</p>
  <p>Thanks.</p>