How to convert Smart device 2003 application to Smart Device 2005 application

H

Harsh Trivedi

Hi,
I have developed project in .NET compact framework 1.0, using MS
Development Environment 2003. Now I want to convert this application to .NET
CF 2.0 for the new device that supports Windows Mobile 5.0.
I have try to convert directly from IDE -> Open -> Convert but it supports
only Java or VB convertion. My App is developed in C#.
Thanks in advance,

With Regards
 
R

Ruslan Trifonov

1.Open your VS2003 project with VS2005 - File|Open Project/Solution
2.You will get the Convertion Wizard - just follow the steps - this will
convert your project to VS2005, CF1.0
3. When your project is converted, perform right mouse click over the project
in the Solution Explorer and select "Upgrade Project" - this will upgrade
your project to CF2.0
4. Right mouse click over the project in the Solution Explorer (again ) and
select "Change Target Platform" and change target to Windows CE 5.0


Ruslan Trifonov
http://xman892.blogspot.com
 
H

Harsh Trivedi

Thanks, Ruslan...
I have follow same steps, but it is giving me the following error. This is
when I am re-building application, or try to open my form 2003 form in 2005.
I am just pasting for your reference. don't take it other way :)
--------------------------------------------------
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.

ResX input is not valid. Cannot find valid "resheader" tags for the
ResX reader and writer type names.
Hide

at System.Resources.ResXResourceReader.ParseXml(XmlTextReader reader)
at System.Resources.ResXResourceReader.EnsureResData()
at System.Resources.ResXResourceReader.GetMetadataEnumerator()
at
System.ComponentModel.Design.Serialization.ResourceCodeDomSerializer.Seriali
zationResourceManager.GetMetadata()
at
System.ComponentModel.Design.Serialization.ResourceCodeDomSerializer.Seriali
zationResourceManager.GetMetadataEnumerator()
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Deserialize
PropertiesFromResources(IDesignerSerializationManager manager, Object value,
Attribute[] filter)
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.IVsTextBuffer
DataEvents.OnLoadCompleted(Int32 fReload)


-----------------------------------------------------------

Again I have successfully converted my class library project, but I am not
able to convert the project which have windows forms. i.e. after conversion
I cannot open the form or build the project

Regards
Harsh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top