© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
11 replies
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?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Cannot resolve symbol 'HttpPostedFileBase'
C#CC# / help
10mo ago
Cannot resolve symbol 'ServiceController'
C#CC# / help
2y ago
Cannot resolve symbol 'Ok'
C#CC# / help
4y ago
Source Generator - false positive errors in Rider
C#CC# / help
8mo ago