Strange bug ...

  • Thread starter Thread starter Jacek Jurkowski
  • Start date Start date
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)
 
Ok - for the rest of You the cause was
AutoScaleDimensions



property ... i removed it from all forms and all works fine
 
Hi,

What if you just delete all built project binaries and re-build the project
from scratch in Beta 2?
 
Back
Top