PDA

View Full Version : Error loading designer



elha
August 30, 2007, 13:33:31
Hi,

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:

<snip>
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.
...
</snip>

IlDasm shows, that missing properties are all enumerations.

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

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

Lutz

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