In windows presentation foundation, I have a custom UIControl called EquipmentList. When I intialize it like this in wpf:
<EquipmentList:EquipmentListControl Name="equipmentList" Margin="0,0,2,2" />
I then try to reference it like this:
InitializeComponent();
this.equipmentList.SetReferenceList(referenceDevices);
I get the error:
Error 1 'Equipment' does not contain a definition for 'equipmentList' and no extension method 'equipmentList' accepting a first argument of type 'FluentGCS.Windows.Equipment' could be found (are you missing a using directive or an assembly reference?)
Resharper doesn't show an error. What's the problem?