I am creating a Windows Mobile Compact Framework user control that has additional images as properties. Usually I donβt worry about supporting development time, in which case I need to make it available. If an optional image is missing and the developer tries to update the code, Visual Studio throws an exception
"Error generating code for the" MyImage "property. Error:" The reference to the object is not installed in the instance of the object "
I have an XMTA file and you tried to use different combinations, including different values ββfor "DesignerSerializationVisibility". Either the code for the property is not generated, or an exception is thrown if an optional image is missing. If an image is present, everything works fine.
Kevin source
share