View Full Version : Error loading designer

August 30, 2007, 12:33:31

now I'm using successfull #Develop (www.icsharpcode.net) together with IcImagingControl 3.04. Anything works fine, but when I try to re-open the designer, I get following error message:

Fehler beim Laden des Designers:

System.ComponentModel.Design.Serialization.CodeDom SerializerException: Der TIS.Imaging.DeBayerModes-Typ besitzt keine Eigenschaft mit dem Namen Edgesensing.
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager manager, CodeStatement statement)
System.ComponentModel.Design.Serialization.CodeDom SerializerException: Der TIS.Imaging.DeBayerStartPatterns-Typ besitzt keine Eigenschaft mit dem Namen BG.
System.ComponentModel.Design.Serialization.CodeDom SerializerException: Der TIS.Imaging.PathPositions-Typ besitzt keine Eigenschaft mit dem Namen Device.

IlDasm shows, that missing properties are all enumerations.

If I delete the according 3 lines of code in the designer generated part
this.icImagingControl1.DeBayerMode = TIS.Imaging.DeBayerModes.Edgesensing;
this.icImagingControl1.DeBayerStartPattern = TIS.Imaging.DeBayerStartPatterns.BG;
this.icImagingControl1.OverlayBitmapPosition = TIS.Imaging.PathPositions.Device;

I'm able to work in design mode.
Has anyone a hint to avoid this behavior?


September 4, 2007, 08:22:29
Solution found, cause of problem was an update of #D to Ver2.2.1.
Have to delete the application data folder
and register IcImagingControl again...
Now designer works as aspected!