title: How do I properly rename a .razor file in vs2019?
body: <p>In vs2019, I added a new razor component to a working and essentially brand new Blazor App project. I renamed the file for my new razor component and noticed index.razor still referenced <code>&lt;oldComponentName/&gt;</code>, so I updated it to <code>&lt;newComponentName/&gt;</code> to match the new file name.</p>
  
  <p>I see the error: <code>Found markup element with unexpected name 'newComponentName'. If this is intended to be a component, add a @using directive for its namespace.</code></p>
  
  <p>I built, rebuilt, and searched for a "map" of file names to component names that was out of date or something - no luck. There's no other namespace that I've (knowingly) introduced, so the @using guidance doesn't seem relevant.</p>
  
  <p>At the moment, I happen to want my file names and component names to stay aligned. What am I missing here?</p>