Reputation: 395
I have a very simple WPF application in VS2019 Professional. It was running perfectly fine till the moment and as I changed build configuration from Debug to Release and Build All, it did build successfully and run but it now shows 215 errors (underlined with red) on all UI elements in MainWindow.xaml.cs.
My MainWindow.xaml is clean.No errors.
There is no Bracket or semi-colon missing.
I tried -
Any other thing to try?
Upvotes: 0
Views: 501
Reputation: 395
Actually, what worked for me is simply Unloading and Reloading the project in Solution Explorer.
Upvotes: 1