PC Review


Reply
Thread Tools Rate Thread

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

 
 
Harsh Trivedi
Guest
Posts: n/a
 
      21st Feb 2006
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


 
Reply With Quote
 
 
 
 
Ruslan Trifonov
Guest
Posts: n/a
 
      21st Feb 2006
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

> 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
>



 
Reply With Quote
 
Ruslan Trifonov
Guest
Posts: n/a
 
      21st Feb 2006
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_...g_archive.html


Ruslan Trifonov
http://xman892.blogspot.com

> 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
>



 
Reply With Quote
 
Harsh Trivedi
Guest
Posts: n/a
 
      21st Feb 2006
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



"Ruslan Trifonov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
> > 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
> >

>
>



 
Reply With Quote
 
Harsh Trivedi
Guest
Posts: n/a
 
      22nd Feb 2006
I found the solution for this:
http://forums.microsoft.com/MSDN/Sho...01004&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.

"Harsh Trivedi" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Databases for Smart Device Application narayanan.rajagopalan@gmail.com Microsoft Dot NET Compact Framework 5 2nd Nov 2005 12:31 PM
VS.NET 2005 Smart Device Application Ivan Debono Microsoft Dot NET 0 1st Nov 2005 11:53 AM
ssl for smart device application zafer Microsoft Dot NET Compact Framework 1 19th Jun 2004 02:45 PM
HELP IN SMART DEVICE APPLICATION mino Microsoft VB .NET 1 19th Nov 2003 05:50 PM
Deploy a VB.NET Smart Device Application Paul Marrero Microsoft Dot NET Compact Framework 2 28th Jul 2003 06:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:15 AM.