all groups > dotnet compact framework > february 2006 >
You're in the

dotnet compact framework

group:

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


Re: How to convert Smart device 2003 application to Smart Device 2005 application Ruslan Trifonov
2/21/2006 5:15:38 AM
dotnet compact framework:
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

[quoted text, click to view]

Re: How to convert Smart device 2003 application to Smart Device 2005 application Ruslan Trifonov
2/21/2006 5:42:40 AM
In addition to my prevoius post
If you target Pcket PC you should download Windows Mobile 5.0 SDKs/ActiveSync
v4

more info here:
http://www.danielmoth.com/Blog/2005_11_01_mothblog_archive.html


Ruslan Trifonov
http://xman892.blogspot.com

[quoted text, click to view]

How to convert Smart device 2003 application to Smart Device 2005 application Harsh Trivedi
2/21/2006 4:58:58 PM
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

Re: How to convert Smart device 2003 application to Smart Device 2005 application Harsh Trivedi
2/21/2006 7:16:47 PM
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



[quoted text, click to view]

Re: How to convert Smart device 2003 application to Smart Device 2005 application Harsh Trivedi
2/22/2006 12:00:00 AM
I found the solution for this:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=201004&SiteID=1
1) In the properties windows for the resx file, insert ResXFileCodeGenerator
in the Custom Tool property and press enter.
2) Delete the resx file
3) Double click the form to open; VS2005 will recreate all correct.

[quoted text, click to view]

AddThis Social Bookmark Button