❔ Rider false positive: Cannot resolve symbol...
Hello,
I am working in Rider on a WPF app and I keep getting Cannot resolve symbol for UI elements whose x:Name I have clearly defined. The code compiles without issue or warning but Rider is freaking out for some reason. The weird thing is I don't get this error for all controls, just the menu items for some reason.
I rebuilt the solution and I even invalidated caches and restarted the IDE but I still get the same error. Any ideas for this?
7 Replies
I would not recommend using Rider for WPF, as it does not have Hot Reload nor does it have a preview.
Visual Studio is significantly better when it comes to WPF, MAUI, and so on.
It does have a preview though
Yesn't.
It's only for .NET Framework.
Never used WPF with .net framework
But yesn't is true, it's pretty useless, but idk how good it is on vs either
https://youtrack.jetbrains.com/issue/RIDER-58358
Seems like it does have support for .NET Core / .NET in 2021
But it is not that good either way, hot reload is significantly better to use as that allows you to design it while it is running, and even change backend code. Same goes for Visual Studio, designer / preview is just awful compared to hot reload.
I use ReSharper so the issue remains.
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.