C#C
C#3y ago
mario12136

❔ 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?
Was this page helpful?