C
chris-s
I'm experimenting with upgrading our code base form VS2003/CF1.0/PPC
to VS2005/CF2.0/WM5.0.
The first thing to rebuild is a package of custom controls, I believe
this has worked since creating a new WM5 project to use some of the
controls works fine, at least in the emulator.
However, when opening up our main application in VS2005 to begin it's
recompile, the form designers give a lot of errors such as the
following one...
The type 'Microsoft.CompactFramework.Design.UnsafeControl' has no
property named 'ImagePos'.
[Hide] [Edit]
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager
manager, CodeAssignStatement statement)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager
manager, CodeStatement statement)
The errors appear to be raised for all the custom properties on our
controls, but I do not get any of the errors in the text application.
I have tried setting the option "Project/Build/Allow Unsafe Code", but
this has made no difference.
Suggestions or help appreciated!
Chris
to VS2005/CF2.0/WM5.0.
The first thing to rebuild is a package of custom controls, I believe
this has worked since creating a new WM5 project to use some of the
controls works fine, at least in the emulator.
However, when opening up our main application in VS2005 to begin it's
recompile, the form designers give a lot of errors such as the
following one...
The type 'Microsoft.CompactFramework.Design.UnsafeControl' has no
property named 'ImagePos'.
[Hide] [Edit]
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager
manager, CodeAssignStatement statement)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager
manager, CodeStatement statement)
The errors appear to be raised for all the custom properties on our
controls, but I do not get any of the errors in the text application.
I have tried setting the option "Project/Build/Allow Unsafe Code", but
this has made no difference.
Suggestions or help appreciated!
Chris