I get this error when opening a design view of a form that has Honeywell DecodeControl (for the Honeywell barcode scanner - Dolphin 6100, if anyone is interested).
I killed it to death and did the following:
Added XMTA file with this in it:
<?xml version="1.0" encoding="utf-16"?> <Classes xmlns="http://schemas.microsoft.com/VisualStudio/2004/03/SmartDevices/XMTA.xsd"> <Class Name="Honeywell.DataCollection.WinCE.Decoding.DecodeControl"> <Description></Description> <DesktopCompatible>true</DesktopCompatible> <DesignTimeVisible>true</DesignTimeVisible> </Class> </Classes>
Set the XMTA build action to "none"
Ignoring the first error still gives me a reference to an object that is not installed on an instance of the object.
It did not help.
After some lengthy googling, this seems to be related to device-specific controls, and this error should supposedly stop anything that could cause instability in the designer ... except that the control works quite successfully for the designer all day at work, then when I get home, it throws it at me. Nothing has changed - the same dev machine, the same device, the same project, the same code as when it was last saved to the workplace.
I donโt even try to debug the device on the desktop or the emulator - I have a device connected via a USB stand.
Literally the only thing that has changed is that the dev machine is connected to my home network via a wireless network instead of CAT5 to work on the network. And I do not see that it is even remotely related to this.
In a more noteworthy note, this control never appeared in the toolbar after I selected "Elements" โ check control. Not sure if this is related.
Can anyone shed some light?
I can publish the designer code if necessary.
thanks