I have trouble with renaming a class in a WPF application while working with Visual Studio 2010 Beta 2. I'm studying the MVVM pattern and therefore working on a small demo application. I decided to rename a ViewModel class (which is referenced in XAML). After renaming everything seems to be ok. I saved all changed files and recompiled the application. The compiler gives me "Class not found" for each statement which references my renamed class. After closing and reopening Visual Studio i see that the rename didn't work complete because in the class declaration the name was not changed. Curious is that i've seen the changed class declaration in the editor before closing Visual Studio (and believe me, i have saved the class before closing Visual Studio). If i repeat the refactoring everything is ok. Did anyone else have seen this behavior?