I am attempting to update a WPF app from .NET Framework 4.7.2 to .NET 8. Using the Upgrade option in Visual Studio, I have updated all of my projects and resolved my dependencies.
What I can’t figure out is why I am getting several errors that look like this:
XamlC error XFC0000: Cannot resolve type "Application".
XamlC error XFC0000: Cannot resolve type "Window".
XamlC error XFC0000: Cannot resolve type "UserControl".
Googling this brings back results for .NET Maui an Xamarin, neither of which I don’t think apply to me.
How do I fix these errors? Am I missing something?