J
Jacek Jurkowski
My app worked fine in VS.net 2005 B1 and B2 some time ...
Now (B2) when I'm trying to design some windows in my application
(not all) i'm getting bug showed bellow but I DO NOT have SizeF
property nowhere in the code. I Searched project catalog wirh
Win Commander searching "SizeF" phase and it was found only
in ... build dll's! Does anybody know whats wrong?
One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your project, while
others may require code changes. Clicking on each error will take you to the
line of code that caused it.
Object of type 'System.Drawing.Size' cannot be converted to type
'System.Drawing.SizeF'.
Hide
at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object
component, Object value)
at
System.ComponentModel.Design.InheritedPropertyDescriptor.SetValue(Object
component, Object value)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager
manager, CodeAssignStatement statement)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager
manager, CodeStatement statement)
Now (B2) when I'm trying to design some windows in my application
(not all) i'm getting bug showed bellow but I DO NOT have SizeF
property nowhere in the code. I Searched project catalog wirh
Win Commander searching "SizeF" phase and it was found only
in ... build dll's! Does anybody know whats wrong?
One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your project, while
others may require code changes. Clicking on each error will take you to the
line of code that caused it.
Object of type 'System.Drawing.Size' cannot be converted to type
'System.Drawing.SizeF'.
Hide
at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object
component, Object value)
at
System.ComponentModel.Design.InheritedPropertyDescriptor.SetValue(Object
component, Object value)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager
manager, CodeAssignStatement statement)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager
manager, CodeStatement statement)