ReSharper
 
Get ReSharper
Get your hands on the new features ahead of the release by joining the Early Access Program for ReSharper 2025.1! Learn more

Code inspection: Cannot resolve symbol

Last modified: 05 June 2024

In Visual Studio's Windows Forms Designer, when a form or a user control is being designed, it creates a .resx file along with the form’s .Designer.cs or .Designer.vb files. The .resx file will then contain values for property settings of the components on the form or user control that are not the default values.

This inspection suggests that there are no relevant definitions to link these design-time declarations to their runtime counterparts.