I tried to rename a xaml file and it screwed up the project

I had a WPF application that I decided to rename the XAML file. I was pleased that it said there were 3 places that needed changing because I’ve had problems when renaming things in the past. So when I said go ahead, it said 2 of them failed and it screwed up things. After the rename, the project file (.elements) still had a reference to the old name so it would complain on recompile. When I manually removed the reference to the old XAML file, then it didn’t have the XAML at all even though the backing code was still there. Eventually I got it fixed, but renaming a file ought to be easier than it is, at least.

A complete test case would be appreciated.

I think the test.zip from the other problem I reported at The compiler changed STring to StringStringString will present this problem too.

Just go to the Dialogs folder and try to rename the XAML file.

Thanks, logged as bugs://76343

bugs://76343 got closed with status fixed.

Logged as bugs://i64243.

bugs://i64243 was closed as fixed.