VS2005 doesn't present the form designer for Pocket PC 2003 Device Application
Hi,
I try to use VS2005 for building a new tool for Pocket PC. When I create a new project of Pocket PC 2003 Device Application, the project is being created, but instead of showing the form designer for building the form, I see a warning message: "Input string was not in a correct format".
This happens as soon as the project is being created, without me interfering. No matter what, I can't get the designer to be presented (and I tried creating a new form from scratch, deleting the form's designer.cs file, etc).
The full text of the warning is:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Microsoft.CompactFramework.Design.DeviceColorMap.UpdateSystemColorFromXml(String xmlText)
at Microsoft.CompactFramework.Design.DeviceColorMap.Initialize(Object initialData)
at Microsoft.CompactFramework.Design.SystemValueProviderService.Microsoft.CompactFramework.Design.ISystemValueProviderService.CreateDeviceMap(Type type)
at Microsoft.CompactFramework.Design.DeviceCustomTypeDescriptor.GetProperties(Attribute[] attributes)
at Microsoft.CompactFramework.Design.DeviceCustomTypeDescriptor.GetProperties()
at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetProperties()
at System.ComponentModel.TypeDescriptor.GetPropertiesImpl(Object component, Attribute[] attributes, Boolean noCustomTypeDesc, Boolean noAttributes)
at System.ComponentModel.TypeDescriptor.GetProperties(Object component)
at Microsoft.CompactFramework.Design.FilterTypeDescriptionProvider.RegisterInstance(Object instance, IServiceProvider provider, Boolean recurseInstance, Boolean setdefaults, Boolean toplevel, Dictionary`2 exceptedProperties, Dictionary`2 childexclusions)
at Microsoft.CompactFramework.Design.CreateInstanceService.OnComponentAdding(Object sender, ComponentEventArgs ce)
at System.ComponentModel.Design.DesignerHost.AddToContainerPreProcess(IComponent component, String name, IContainer containerToAddTo)
at System.ComponentModel.Design.DesignerHost.Add(IComponent component, String name)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)
Is this a known problem? Any idea how to fix it?
Thanks,
Dana

