Renaming aspx/razor/etc files won't rename their classes #9292
Labels
Bug
This is a functional issue in already written code.
Feature-Solution-Explorer
Issues related to cut/copy/paste, drag drop, and general iteraction with Solution Explorer.
Triage-Approved
Reviewed and prioritized
Milestone
Inspired by AB#1886228
MainWindow.xaml
toMainWindow2.xaml
MainWindow.xaml.cs
is also renamed, however the corresponding type is not renamedThis also works for
.razor
/.razor.cs
files. Possibly others. In the case of razor, the mismatched type and file names cause the generated code to become disconnected from the page itself, requiring manual renames to fix.The text was updated successfully, but these errors were encountered: